mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
23 lines
514 B
JavaScript
23 lines
514 B
JavaScript
import commonjs from 'rollup-plugin-commonjs';
|
|
import resolve from 'rollup-plugin-node-resolve';
|
|
import babel from 'rollup-plugin-babel';
|
|
|
|
export default {
|
|
input: 'ShadowEditor.UI/src/index.js',
|
|
output: {
|
|
indent: '\t',
|
|
format: 'umd',
|
|
name: 'Shadow',
|
|
file: 'ShadowEditor.UI/build/ShadowEditor.UI.js'
|
|
},
|
|
treeshake: true,
|
|
external: [],
|
|
plugins: [
|
|
resolve(),
|
|
commonjs(),
|
|
babel({
|
|
exclude: 'node_modules/**'
|
|
})
|
|
]
|
|
};
|