Nostradamus Predicting Maelstroms

    This package has been deprecated

    Author message:

    This package is no longer supported. Please refer to https://github.com/Anidetrix/rollup-plugin-styles

    @ovh-ux/rollup-plugin-less-tilde-importer

    1.0.5 • Public • Published

    rollup-plugin-less-tilde-importer

    A rollup plugin providing ~ (tilde) prefix as a way to tell less compiler that it should resolve path using a configured array of module directories.

    Downloads Dependencies Dev Dependencies Gitter

    Install

    $ yarn add -D @ovh-ux/rollup-plugin-less-tilde-importer

    Usage

    // rollup.config.js
    import less from 'rollup-plugin-less';
    import lessTildeImporter from '@ovh-ux/rollup-plugin-less-tilde-importer';
    import path from 'path';
    
    export default {
      input: 'src/index.js',
      output: {
        dir: 'dist',
        format: 'cjs',
        sourcemap: true,
      },
      plugins: [
        lessTildeImporter({
          paths: [
            path.resolve(__dirname, './node_modules'),
            path.resolve(__dirname, '../../node_modules'),
          ],
        }),
        less(),
      ],
    };

    Related

    See more: https://github.com/rollup/plugins.

    Contributing

    Always feel free to help out! Whether it's filing bugs and feature requests or working on some of the open issues, our contributing guide will help get you started.

    License

    BSD-3-Clause © OVH SAS

    Dependencies (2)

    Dev Dependencies (10)

    Install

    npm i @ovh-ux/rollup-plugin-less-tilde-importer

    DownloadsWeekly Downloads

    146

    Version

    1.0.5

    License

    BSD-3-Clause

    Unpacked Size

    8.09 kB

    Total Files

    5

    Last publish

    Collaborators

    • jisay
    • blary_jp
    • antleblanc
    • cbourgois
    • ovh-ux-cds
    • lizardk
    • ovh
    • marie-j