This commit is contained in:
parent
ed4b93330a
commit
679bdc6235
2
app.js
2
app.js
|
@ -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');
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
hedera-web (22.46.1) stable; urgency=low
|
hedera-web (22.46.2) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue