diff options
Diffstat (limited to 'gui-clamp/ui-react-lib/rollup.config.js')
-rw-r--r-- | gui-clamp/ui-react-lib/rollup.config.js | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/gui-clamp/ui-react-lib/rollup.config.js b/gui-clamp/ui-react-lib/rollup.config.js deleted file mode 100644 index c671779..0000000 --- a/gui-clamp/ui-react-lib/rollup.config.js +++ /dev/null @@ -1,48 +0,0 @@ -import babel from 'rollup-plugin-babel' -import commonjs from '@rollup/plugin-commonjs' -import postcss from 'rollup-plugin-postcss' -import resolve from '@rollup/plugin-node-resolve' -import external from 'rollup-plugin-peer-deps-external' -import img from '@rollup/plugin-image' - -import pkg from './package.json' - -export default { - input: './libIndex.js', - output: [ - { - file: pkg.main, - format: 'cjs', - sourcemap: true - }, - { - file: pkg.module, - format: 'es', - sourcemap: true - } - ], - plugins: [ - img(), - external(), - postcss({ - modules: true - }), - babel({ - exclude: 'node_modules/**', - presets: [ - - "@babel/preset-env", {}, - "@babel/preset-react", {} - ], - plugins: [ - [ - "@babel/plugin-proposal-class-properties", - { - "loose": true - } - ] - ] - }), - resolve({ preferBuiltins: true, mainFields: ['browser'] }) - ] -} |