Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Aug 12, 2017
1 parent e345879 commit adef43f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 42 deletions.
34 changes: 1 addition & 33 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -66,7 +66,6 @@
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-json": "^2.3.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-replace": "^1.1.0",
"rollup-plugin-string": "^2.0.0",
"rollup-pluginutils": "^2.0.1",
"rollup-watch": "^4.3.1",
Expand Down
11 changes: 3 additions & 8 deletions rollup.config.js
Expand Up @@ -2,7 +2,7 @@ import { readFileSync } from 'fs';
import buble from 'rollup-plugin-buble';
import nodeResolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import replace from 'rollup-plugin-replace';
import json from 'rollup-plugin-json';

var pkg = JSON.parse( readFileSync( 'package.json', 'utf-8' ) );

Expand All @@ -22,6 +22,8 @@ var banner = readFileSync( 'src/banner.js', 'utf-8' )
export default {
entry: 'src/node-entry.js',
plugins: [
json(),

buble({
include: [ 'src/**', 'node_modules/acorn/**' ],
target: {
Expand All @@ -33,13 +35,6 @@ export default {
jsnext: true
}),

replace({
include: 'src/rollup.js',
delimiters: [ '<@', '@>' ],
sourceMap: true,
values: { VERSION: pkg.version }
}),

commonjs()
],
external: [
Expand Down

0 comments on commit adef43f

Please sign in to comment.