Adding snabbdom dependancy via npm and bundling from npm_modules
no more library download scripts
This commit is contained in:
parent
1699990c02
commit
db2fa4d2e5
|
@ -1,11 +0,0 @@
|
||||||
var browserify = require('browserify');
|
|
||||||
var esmify = require('esmify');
|
|
||||||
|
|
||||||
var bundler = browserify({
|
|
||||||
debug: true,
|
|
||||||
paths: ["../node_modules/snabbdom/"],
|
|
||||||
plugin: [esmify]
|
|
||||||
});
|
|
||||||
|
|
||||||
bundler.add(process.argv[2]);
|
|
||||||
bundler.bundle().pipe(process.stdout);
|
|
|
@ -8,13 +8,10 @@
|
||||||
"author": "Ozbolt Menegatti",
|
"author": "Ozbolt Menegatti",
|
||||||
"license": "MPL2",
|
"license": "MPL2",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"sorcery": "^0.10.0",
|
"tinyify": "^2.5.2",
|
||||||
"sourceify": "^1.0.0",
|
|
||||||
"tinyify": "^2.5.2"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"browserify": "^16.5.0",
|
"browserify": "^16.5.0",
|
||||||
"esmify": "^2.1.1",
|
"esmify": "^2.1.1",
|
||||||
|
"picnic": "^6.5.1",
|
||||||
"snabbdom": "^0.7.3"
|
"snabbdom": "^0.7.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user