Adding snabbdom dependancy via npm and bundling from npm_modules

no more library download scripts
This commit is contained in:
Ozbolt Menegatti 2019-11-11 22:57:26 +01:00
parent 1699990c02
commit db2fa4d2e5
2 changed files with 2 additions and 16 deletions

View File

@ -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);

View File

@ -8,13 +8,10 @@
"author": "Ozbolt Menegatti",
"license": "MPL2",
"devDependencies": {
"sorcery": "^0.10.0",
"sourceify": "^1.0.0",
"tinyify": "^2.5.2"
},
"dependencies": {
"tinyify": "^2.5.2",
"browserify": "^16.5.0",
"esmify": "^2.1.1",
"picnic": "^6.5.1",
"snabbdom": "^0.7.3"
}
}