refs #3971 Source maps disabled
gitea/hedera-web/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2022-11-18 00:31:45 +01:00
parent ed4b93330a
commit 679bdc6235
4 changed files with 8 additions and 8 deletions

2
app.js
View File

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

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (22.46.1) stable; urgency=low
hedera-web (22.46.2) stable; urgency=low
* Initial Release.

View File

@ -1,6 +1,6 @@
{
"name": "hedera-web",
"version": "22.46.1",
"version": "22.46.2",
"description": "Verdnatura web page",
"license": "GPL-3.0",
"repository": {

View File

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