scss-to-css/rollup.config.js

20 lines
389 B
JavaScript
Raw Normal View History

2021-07-02 19:42:59 +08:00
import json from '@rollup/plugin-json'
import commonjs from '@rollup/plugin-commonjs'
import resolve from '@rollup/plugin-node-resolve'
export default {
input: 'entry.js',
output: {
file: 'index.js',
format: 'cjs'
},
external: ['vscode', 'fs', 'path', 'url', 'events'],
plugins: [
json(),
commonjs({
ignoreDynamicRequires: true
}),
resolve()
]
}