fix(deploy.js): fix deployment
This commit is contained in:
parent
898fe19823
commit
64e5c870bc
@ -13,12 +13,12 @@ const config = {
|
||||
outputExt: '.js',
|
||||
},
|
||||
js: {
|
||||
src: ['src/**/*.js', 'node_modules/**/*.js'],
|
||||
src: ['src/**/*.js', 'node_modules/body-parser/**/*.js', 'node_modules/express/**/*.js', 'node_modules/express-session/**/*.js', 'node_modules/serve-favicon/**/*.js', 'node_modules/tslib/**/*.js', 'node_modules/undici/**/*.js'],
|
||||
exclude: ['src/**/*.min.js', 'src/**/build*.js'],
|
||||
outputExt: '.js',
|
||||
},
|
||||
css: {
|
||||
src: ['src/**/*.css', 'node_modules/**/*.css'],
|
||||
src: ['src/**/*.css'],
|
||||
exclude: 'src/**/*.min.css',
|
||||
outputExt: '.css',
|
||||
},
|
||||
@ -27,17 +27,17 @@ const config = {
|
||||
'src/**/*.json',
|
||||
'./package.json',
|
||||
'./package-lock.json',
|
||||
'node_modules/**/*.json',
|
||||
'node_modules/body-parser/**/*.json', 'node_modules/express/**/*.json', 'node_modules/express-session/**/*.json', 'node_modules/serve-favicon/**/*.json', 'node_modules/tslib/**/*.json', 'node_modules/undici/**/*.json',
|
||||
],
|
||||
},
|
||||
html: {
|
||||
src: ['src/**/*.html', 'node_modules/**/*.html'],
|
||||
src: ['src/**/*.html'],
|
||||
},
|
||||
images: {
|
||||
src: 'src/**/*.+(png|jpg|jpeg|gif|svg|ico)',
|
||||
},
|
||||
typescript: {
|
||||
src: ['src/**/*.+(ts|ts.map|d.ts)', 'node_modules/**/*.+(ts|ts.map|d.ts)'],
|
||||
src: ['src/**/*.+(ts|ts.map|d.ts)', 'node_modules/body-parser/**/*.+(ts|ts.map|d.ts)', 'node_modules/express/**/*.+(ts|ts.map|d.ts)', 'node_modules/express-session/**/*.+(ts|ts.map|d.ts)', 'node_modules/serve-favicon/**/*.+(ts|ts.map|d.ts)', 'node_modules/tslib/**/*.+(ts|ts.map|d.ts)', 'node_modules/undici/**/*.+(ts|ts.map|d.ts)'],
|
||||
},
|
||||
// Add all files that might contain references
|
||||
// allFiles: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user