Skip to content

Commit

Permalink
Switch to @rollup/plugin-node-resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Dec 24, 2019
1 parent df74efe commit 1eb583e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 17 deletions.
2 changes: 1 addition & 1 deletion build/rollup.config.js
Expand Up @@ -2,7 +2,7 @@

const path = require('path')
const babel = require('rollup-plugin-babel')
const resolve = require('rollup-plugin-node-resolve')
const resolve = require('@rollup/plugin-node-resolve')
const banner = require('./banner.js')

const BUNDLE = process.env.BUNDLE === 'true'
Expand Down
2 changes: 1 addition & 1 deletion js/tests/integration/rollup.bundle.js
@@ -1,6 +1,6 @@
/* eslint-env node */

const resolve = require('rollup-plugin-node-resolve')
const resolve = require('@rollup/plugin-node-resolve')
const babel = require('rollup-plugin-babel')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion js/tests/karma.conf.js
Expand Up @@ -3,7 +3,7 @@ const path = require('path')
const ip = require('ip')
const babel = require('rollup-plugin-babel')
const istanbul = require('rollup-plugin-istanbul')
const resolve = require('rollup-plugin-node-resolve')
const resolve = require('@rollup/plugin-node-resolve')

const {
browsers,
Expand Down
35 changes: 22 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -90,6 +90,7 @@
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@rollup/plugin-node-resolve": "^6.0.0",
"autoprefixer": "^9.7.3",
"babel-eslint": "^10.0.3",
"babel-plugin-istanbul": "^6.0.0",
Expand Down Expand Up @@ -125,7 +126,6 @@
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-istanbul": "^2.0.1",
"rollup-plugin-node-resolve": "^5.2.0",
"serve": "^11.2.0",
"shelljs": "^0.8.3",
"stylelint": "^12.0.0",
Expand Down

0 comments on commit 1eb583e

Please sign in to comment.