Skip to content
This repository was archived by the owner on Dec 28, 2019. It is now read-only.

Commit b34748b

Browse files
committed
Updated rollup
1 parent 6acb24f commit b34748b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rollup.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import babel from 'rollup-plugin-babel'
12
import uglify from 'rollup-plugin-uglify'
23
import resolve from 'rollup-plugin-node-resolve'
34
import commonjs from 'rollup-plugin-commonjs'
4-
import babel from 'rollup-plugin-babel'
55
// import pkg from './package.json'
66

77
export default [
@@ -28,6 +28,7 @@ export default [
2828
{
2929
input: 'src/routes/index.js',
3030
output: { file: './routes/index.js', format: 'cjs' },
31+
external: ['route-parser'],
3132
plugins: [babel()]
3233
},
3334
{

0 commit comments

Comments
 (0)