forked from verdnatura/hedera-web
refs #3971 Source maps disabled
This commit is contained in:
parent
ed4b93330a
commit
679bdc6235
2
app.js
2
app.js
|
@ -1,6 +1,6 @@
|
|||
__webpack_public_path__ = _PUBLIC_PATH;
|
||||
|
||||
//import 'promise-polyfill/src/polyfill';
|
||||
import 'promise-polyfill/src/polyfill';
|
||||
import 'hedera/hedera';
|
||||
const locales = require('./import').locales;
|
||||
const packageJson = require('./package.json');
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
hedera-web (22.46.1) stable; urgency=low
|
||||
hedera-web (22.46.2) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "22.46.1",
|
||||
"version": "22.46.2",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -18,7 +18,7 @@ const baseConfig = {
|
|||
},
|
||||
module: {
|
||||
rules: [
|
||||
/*{
|
||||
{
|
||||
test: /\.m?js$/,
|
||||
exclude: /(node_modules|bower_components)/,
|
||||
use: {
|
||||
|
@ -27,7 +27,7 @@ const baseConfig = {
|
|||
presets: ['@babel/preset-env']
|
||||
}
|
||||
}
|
||||
},*/ {
|
||||
}, {
|
||||
test: /\.css$/,
|
||||
use: ['style-loader', 'css-loader'],
|
||||
}, {
|
||||
|
@ -95,7 +95,7 @@ const prodConfig = {
|
|||
optimization: {
|
||||
moduleIds: 'deterministic'
|
||||
},
|
||||
devtool: 'source-map'
|
||||
//devtool: 'source-map'
|
||||
};
|
||||
|
||||
const devConfig = {
|
||||
|
@ -106,6 +106,7 @@ const devConfig = {
|
|||
optimization: {
|
||||
moduleIds: 'named'
|
||||
},
|
||||
devtool: 'eval',
|
||||
devServer: {
|
||||
host: '0.0.0.0',
|
||||
static: __dirname,
|
||||
|
@ -119,8 +120,7 @@ const devConfig = {
|
|||
bypass: (req) => req.path !== '/' ? req.path : null
|
||||
}
|
||||
}
|
||||
},
|
||||
devtool: 'eval'
|
||||
}
|
||||
};
|
||||
|
||||
const mrgConfig = devMode ? devConfig : prodConfig;
|
||||
|
|
Loading…
Reference in New Issue