mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
added ver to qsurvey url
This commit is contained in:
@@ -4,6 +4,12 @@ const CopyPlugin = require('copy-webpack-plugin');
|
||||
const ManifestPlugin = require('webpack-manifest-plugin');
|
||||
const IS_DEV = process.env.NODE_ENV === 'development';
|
||||
|
||||
const regularJSOptions = {
|
||||
babelrc: false,
|
||||
presets: [['env', { modules: false }], 'stage-2'],
|
||||
plugins: ['yo-yoify']
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
vendor: ['babel-polyfill', 'fluent'],
|
||||
@@ -31,6 +37,16 @@ module.exports = {
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
include: require.resolve('./app/templates/header'),
|
||||
use: [
|
||||
{
|
||||
loader: 'babel-loader',
|
||||
options: regularJSOptions
|
||||
},
|
||||
'./build/version_loader'
|
||||
]
|
||||
},
|
||||
{
|
||||
include: [path.dirname(require.resolve('fluent'))],
|
||||
use: [
|
||||
@@ -55,11 +71,7 @@ module.exports = {
|
||||
path.resolve(__dirname, 'node_modules/fluent-intl-polyfill'),
|
||||
path.resolve(__dirname, 'node_modules/intl-pluralrules')
|
||||
],
|
||||
options: {
|
||||
babelrc: false,
|
||||
presets: [['env', { modules: false }], 'stage-2'],
|
||||
plugins: ['yo-yoify']
|
||||
}
|
||||
options: regularJSOptions
|
||||
},
|
||||
{
|
||||
include: [path.resolve(__dirname, 'node_modules')],
|
||||
|
||||
Reference in New Issue
Block a user