Skip to content

Commit 1b33611

Browse files
committed
chore: migrate rollup config
1 parent 08a1127 commit 1b33611

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"lint": "eslint . --ext js,ts",
5151
"vscode:prepublish": "npm run compile",
5252
"compile": "run-s compile:clean compile:app compile:tests",
53-
"compile:app": "rollup -c rollup.config.js --bundleConfigAsCjs",
53+
"compile:app": "rollup -c rollup.config.mjs",
5454
"compile:tests": "tsc -p ./src/test",
5555
"compile:clean": "shx rm -rf out",
5656
"watch:app": "npm run compile:app -- -w",

rollup.config.js renamed to rollup.config.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
/* eslint-env node */
2-
31
import resolve from '@rollup/plugin-node-resolve';
42
import commonjs from '@rollup/plugin-commonjs';
53
import url from '@rollup/plugin-url';
64
import typescript from '@rollup/plugin-typescript';
75

86
import css from 'rollup-plugin-css-only';
97

10-
module.exports = [
8+
export default [
119

1210
// client
1311
{

0 commit comments

Comments
 (0)