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; __webpack_public_path__ = _PUBLIC_PATH;
//import 'promise-polyfill/src/polyfill'; import 'promise-polyfill/src/polyfill';
import 'hedera/hedera'; import 'hedera/hedera';
const locales = require('./import').locales; const locales = require('./import').locales;
const packageJson = require('./package.json'); 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. * Initial Release.

View File

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

View File

@ -18,7 +18,7 @@ const baseConfig = {
}, },
module: { module: {
rules: [ rules: [
/*{ {
test: /\.m?js$/, test: /\.m?js$/,
exclude: /(node_modules|bower_components)/, exclude: /(node_modules|bower_components)/,
use: { use: {
@ -27,7 +27,7 @@ const baseConfig = {
presets: ['@babel/preset-env'] presets: ['@babel/preset-env']
} }
} }
},*/ { }, {
test: /\.css$/, test: /\.css$/,
use: ['style-loader', 'css-loader'], use: ['style-loader', 'css-loader'],
}, { }, {
@ -95,7 +95,7 @@ const prodConfig = {
optimization: { optimization: {
moduleIds: 'deterministic' moduleIds: 'deterministic'
}, },
devtool: 'source-map' //devtool: 'source-map'
}; };
const devConfig = { const devConfig = {
@ -106,6 +106,7 @@ const devConfig = {
optimization: { optimization: {
moduleIds: 'named' moduleIds: 'named'
}, },
devtool: 'eval',
devServer: { devServer: {
host: '0.0.0.0', host: '0.0.0.0',
static: __dirname, static: __dirname,
@ -119,8 +120,7 @@ const devConfig = {
bypass: (req) => req.path !== '/' ? req.path : null bypass: (req) => req.path !== '/' ? req.path : null
} }
} }
}, }
devtool: 'eval'
}; };
const mrgConfig = devMode ? devConfig : prodConfig; const mrgConfig = devMode ? devConfig : prodConfig;