2017-12-09 18:21:18 +03:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2019-06-24 22:10:03 +03:00
|
|
|
module.exports = function(grunt) {
|
2017-12-09 18:21:18 +03:00
|
|
|
const webpackConfig = require('../webpack.config');
|
|
|
|
|
|
|
|
grunt.config('webpack', {
|
|
|
|
options: {
|
2019-06-24 22:10:03 +03:00
|
|
|
stats: true,
|
2017-12-09 18:21:18 +03:00
|
|
|
},
|
|
|
|
app: webpackConfig,
|
2019-06-24 22:10:03 +03:00
|
|
|
watch: Object.assign({ watch: true }, webpackConfig),
|
2017-12-09 18:21:18 +03:00
|
|
|
});
|
|
|
|
};
|