mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-30 17:00:35 +02:00
Update to rollup v0.51.3
This commit is contained in:
10
build_src.js
10
build_src.js
@@ -26,7 +26,7 @@ module.exports = function buildSrc() {
|
||||
|
||||
return rollup
|
||||
.rollup({
|
||||
entry: './modules/id.js',
|
||||
input: './modules/id.js',
|
||||
plugins: [
|
||||
includePaths({
|
||||
paths: [
|
||||
@@ -34,7 +34,7 @@ module.exports = function buildSrc() {
|
||||
]
|
||||
}),
|
||||
nodeResolve({
|
||||
jsnext: true,
|
||||
module: true,
|
||||
main: true,
|
||||
browser: false
|
||||
}),
|
||||
@@ -47,9 +47,9 @@ module.exports = function buildSrc() {
|
||||
cache = bundle;
|
||||
return bundle.write({
|
||||
format: 'iife',
|
||||
dest: 'dist/iD.js',
|
||||
sourceMap: true,
|
||||
useStrict: false
|
||||
file: 'dist/iD.js',
|
||||
sourcemap: true,
|
||||
strict: false
|
||||
});
|
||||
})
|
||||
.then(function() {
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
"npm-run-all": "^4.0.0",
|
||||
"phantomjs-prebuilt": "~2.1.11",
|
||||
"request": "^2.81.0",
|
||||
"rollup": "0.45.2",
|
||||
"rollup": "0.51.3",
|
||||
"rollup-plugin-commonjs": "8.2.6",
|
||||
"rollup-plugin-includepaths": "0.2.2",
|
||||
"rollup-plugin-json": "2.2.0",
|
||||
|
||||
Reference in New Issue
Block a user