Clean
This commit is contained in:
@@ -5,8 +5,6 @@ import replace from '@rollup/plugin-replace'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import svelte from 'rollup-plugin-svelte'
|
||||
import babel from 'rollup-plugin-babel'
|
||||
// import { eslint } from 'rollup-plugin-eslint'
|
||||
// import browsersync from 'rollup-plugin-browsersync'
|
||||
import autoPreprocess from 'svelte-preprocess'
|
||||
import { terser } from 'rollup-plugin-terser'
|
||||
import glslify from 'rollup-plugin-glslify'
|
||||
@@ -67,7 +65,7 @@ export default {
|
||||
dev,
|
||||
preprocess,
|
||||
hydratable: true,
|
||||
emitCss: false,
|
||||
emitCss: dev,
|
||||
// css: css => css.write('static/bundle.css')
|
||||
}),
|
||||
aliases,
|
||||
@@ -78,7 +76,6 @@ export default {
|
||||
dedupe: ['svelte']
|
||||
}),
|
||||
commonjs(),
|
||||
// dev && eslint(),
|
||||
legacy && babel({
|
||||
extensions: resolveExtensions,
|
||||
exclude: ['*.scss', '*.css', 'node_modules/@babel/**'],
|
||||
|
||||
Reference in New Issue
Block a user