Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

[Sapper #1151] Updated rollup dependencies #221

Merged
merged 4 commits into from
May 22, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/runtime": "^7.0.0",
"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-node-resolve": "^7.0.0",
"@rollup/plugin-replace": "^2.2.0",
"rollup": "^1.20.0",
"rollup-plugin-babel": "^4.0.2",
"rollup": "^2.7.6",
"rollup-plugin-svelte": "^5.0.1",
"rollup-plugin-terser": "^5.3.0"
}
Expand Down
5 changes: 3 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import resolve from '@rollup/plugin-node-resolve';
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 babel from '@rollup/plugin-babel';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this move to the top to be alphabetized?

import { terser } from 'rollup-plugin-terser';
import config from 'sapper/config/rollup.js';
import pkg from './package.json';
Expand Down Expand Up @@ -35,7 +35,7 @@ export default {

legacy && babel({
extensions: ['.js', '.mjs', '.html', '.svelte'],
runtimeHelpers: true,
babelHelpers: 'runtime',
exclude: ['node_modules/@babel/**'],
presets: [
['@babel/preset-env', {
Expand All @@ -55,6 +55,7 @@ export default {
})
],

preserveEntrySignatures: false,
onwarn,
},

Expand Down