mirror of https://github.com/keeweb/keeweb.git
fixed webpackDevConfig
This commit is contained in:
parent
9f836be3c8
commit
152bea3547
16
Gruntfile.js
16
Gruntfile.js
|
@ -133,24 +133,18 @@ module.exports = function(grunt) {
|
|||
};
|
||||
|
||||
const webpackDevConfig = Object.assign({}, webpackConfig, {
|
||||
resolve: {
|
||||
modules: [path.join(__dirname, 'app/scripts'), path.join(__dirname, 'node_modules')],
|
||||
alias: {
|
||||
resolve: Object.assign({}, webpackConfig.resolve, {
|
||||
alias: Object.assign({}, webpackConfig.resolve.alias, {
|
||||
backbone: 'backbone/backbone.js',
|
||||
underscore: 'underscore/underscore.js',
|
||||
_: 'underscore/underscore.js',
|
||||
jquery: 'jquery/dist/jquery.js',
|
||||
kdbxweb: 'kdbxweb/dist/kdbxweb.js',
|
||||
baron: 'baron/baron.js',
|
||||
pikaday: 'pikaday/pikaday.js',
|
||||
filesaver: 'FileSaver.js/FileSaver.js',
|
||||
qrcode: 'jsqrcode/dist/qrcode.js',
|
||||
'argon2': 'argon2-browser/docs/dist/argon2.js',
|
||||
hbs: 'handlebars/runtime.js',
|
||||
'argon2-wasm': 'argon2-browser/dist/argon2.wasm',
|
||||
templates: path.join(__dirname, 'app/templates')
|
||||
}
|
||||
}
|
||||
'argon2': 'argon2-browser/docs/dist/argon2.js'
|
||||
})
|
||||
})
|
||||
});
|
||||
|
||||
grunt.initConfig({
|
||||
|
|
Loading…
Reference in New Issue