mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
29 lines
666 B
JavaScript
29 lines
666 B
JavaScript
import resolve from 'rollup-plugin-node-resolve';
|
|
import copy from 'rollup-plugin-copy';
|
|
import postcss from 'rollup-plugin-postcss';
|
|
|
|
export default {
|
|
input: 'ShadowEditor.UI/src/index.js',
|
|
output: {
|
|
indent: '\t',
|
|
format: 'umd',
|
|
name: 'Shadow',
|
|
file: 'ShadowEditor.UI/dist/ShadowUI.js'
|
|
},
|
|
treeshake: true,
|
|
external: [],
|
|
plugins: [
|
|
postcss({
|
|
extensions: ['.css'],
|
|
}),
|
|
resolve({
|
|
customResolveOptions: {
|
|
moduleDirectory: 'node_modules'
|
|
}
|
|
}),
|
|
// copy({
|
|
// "./assets/": "./dist/assets/"
|
|
// })
|
|
]
|
|
};
|