Skip to content

Commit d0ecabd

Browse files
updated: the rollup options
1 parent 715e576 commit d0ecabd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rollup.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import resolve from 'rollup-plugin-node-resolve'
22

33
export default {
4-
entry: 'index.next.js',
4+
input: 'index.next.js',
55
plugins: [
66
resolve({
77
jsnext: true
88
})
99
],
10-
targets: [
10+
output: [
1111
{
12-
dest: 'index.js',
12+
file: 'index.js',
1313
format: 'cjs'
1414
}
1515
]

0 commit comments

Comments
 (0)