mirror of
https://github.com/timvisee/send.git
synced 2025-10-03 09:49:14 +02:00
added ver to qsurvey url
This commit is contained in:
parent
28a7e0f717
commit
1849d712b1
3 changed files with 37 additions and 8 deletions
|
@ -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')],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue