mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-17 12:24:55 +00:00
update rollup dependencies (#221)
This commit is contained in:
@@ -33,11 +33,11 @@
|
|||||||
"@babel/plugin-transform-runtime": "^7.0.0",
|
"@babel/plugin-transform-runtime": "^7.0.0",
|
||||||
"@babel/preset-env": "^7.0.0",
|
"@babel/preset-env": "^7.0.0",
|
||||||
"@babel/runtime": "^7.0.0",
|
"@babel/runtime": "^7.0.0",
|
||||||
"@rollup/plugin-commonjs": "11.0.2",
|
"@rollup/plugin-babel": "^5.0.0",
|
||||||
|
"@rollup/plugin-commonjs": "^12.0.0",
|
||||||
"@rollup/plugin-node-resolve": "^7.0.0",
|
"@rollup/plugin-node-resolve": "^7.0.0",
|
||||||
"@rollup/plugin-replace": "^2.2.0",
|
"@rollup/plugin-replace": "^2.2.0",
|
||||||
"rollup": "^2.0.0",
|
"rollup": "^2.3.4",
|
||||||
"rollup-plugin-babel": "^4.0.2",
|
|
||||||
"rollup-plugin-svelte": "^5.0.1",
|
"rollup-plugin-svelte": "^5.0.1",
|
||||||
"rollup-plugin-terser": "^5.3.0"
|
"rollup-plugin-terser": "^5.3.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import resolve from '@rollup/plugin-node-resolve';
|
|||||||
import replace from '@rollup/plugin-replace';
|
import replace from '@rollup/plugin-replace';
|
||||||
import commonjs from '@rollup/plugin-commonjs';
|
import commonjs from '@rollup/plugin-commonjs';
|
||||||
import svelte from 'rollup-plugin-svelte';
|
import svelte from 'rollup-plugin-svelte';
|
||||||
import babel from 'rollup-plugin-babel';
|
import babel from '@rollup/plugin-babel';
|
||||||
import { terser } from 'rollup-plugin-terser';
|
import { terser } from 'rollup-plugin-terser';
|
||||||
import config from 'sapper/config/rollup.js';
|
import config from 'sapper/config/rollup.js';
|
||||||
import pkg from './package.json';
|
import pkg from './package.json';
|
||||||
@@ -35,7 +35,7 @@ export default {
|
|||||||
|
|
||||||
legacy && babel({
|
legacy && babel({
|
||||||
extensions: ['.js', '.mjs', '.html', '.svelte'],
|
extensions: ['.js', '.mjs', '.html', '.svelte'],
|
||||||
runtimeHelpers: true,
|
babelHelpers: 'runtime',
|
||||||
exclude: ['node_modules/@babel/**'],
|
exclude: ['node_modules/@babel/**'],
|
||||||
presets: [
|
presets: [
|
||||||
['@babel/preset-env', {
|
['@babel/preset-env', {
|
||||||
@@ -55,6 +55,7 @@ export default {
|
|||||||
})
|
})
|
||||||
],
|
],
|
||||||
|
|
||||||
|
preserveEntrySignatures: false,
|
||||||
onwarn,
|
onwarn,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user