Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
Includes updating to the latest rollup-plugin-svelte
  • Loading branch information
ItalyPaleAle committed Dec 1, 2020
1 parent 783c19a commit 5ee0e57
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 23 deletions.
11 changes: 6 additions & 5 deletions examples/basic-routing/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import svelte from 'rollup-plugin-svelte'
import resolve from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs'
import css from 'rollup-plugin-css-only'

export default {
input: 'src/main.js',
Expand All @@ -15,11 +16,11 @@ export default {
svelte({
// enable run-time checks when not in production
dev: true,
// we'll extract any component CSS out into
// a separate file better for performance
css: css => {
css.write('bundle.css')
}
}),
// we'll extract any component CSS out into
// a separate file better for performance
css({
output: 'bundle.css'
}),

// If you have external dependencies installed from
Expand Down
11 changes: 6 additions & 5 deletions examples/dynamic-imports/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import svelte from 'rollup-plugin-svelte'
import resolve from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs'
import css from 'rollup-plugin-css-only'

export default {
input: 'src/main.js',
Expand All @@ -15,11 +16,11 @@ export default {
svelte({
// enable run-time checks when not in production
dev: true,
// we'll extract any component CSS out into
// a separate file better for performance
css: css => {
css.write('bundle.css')
}
}),
// we'll extract any component CSS out into
// a separate file better for performance
css({
output: 'bundle.css'
}),

// If you have external dependencies installed from
Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,17 @@
"regexparam": "1.3.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"chromedriver": "^85.0.0",
"eslint": "^7.11.0",
"eslint-plugin-html": "^6.1.0",
"eslint": "^7.14.0",
"eslint-plugin-html": "^6.1.1",
"eslint-plugin-svelte3": "^2.7.3",
"nightwatch": "^1.5.0",
"rollup": "^2.32.1",
"rollup-plugin-svelte": "^6.1.0",
"nightwatch": "^1.5.1",
"rollup": "^2.34.0",
"rollup-plugin-css-only": "^3.0.0",
"rollup-plugin-svelte": "^7.0.0",
"serve": "^11.3.2",
"svelte": "^3.29.0"
"svelte": "^3.30.1"
}
}
11 changes: 6 additions & 5 deletions test/app/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import svelte from 'rollup-plugin-svelte'
import resolve from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs'
import css from 'rollup-plugin-css-only'

export default {
input: 'src/main.js',
Expand All @@ -15,11 +16,11 @@ export default {
svelte({
// enable run-time checks when not in production
dev: true,
// we'll extract any component CSS out into
// a separate file better for performance
css: css => {
css.write('bundle.css')
}
}),
// we'll extract any component CSS out into
// a separate file better for performance
css({
output: 'bundle.css'
}),

// If you have external dependencies installed from
Expand Down

0 comments on commit 5ee0e57

Please sign in to comment.