A different approach to Piwik Javascript tracker inclusion
This commit is contained in:
parent
9081cbf981
commit
5014fc5fb7
23 changed files with 2492 additions and 355 deletions
8
webpack.config.js
vendored
8
webpack.config.js
vendored
|
@ -1,4 +1,5 @@
|
|||
const webpack = require('webpack');
|
||||
const Dotenv = require('dotenv-webpack');
|
||||
|
||||
const config = {
|
||||
context: __dirname + '/resources/assets/es6',
|
||||
|
@ -24,7 +25,12 @@ const config = {
|
|||
loader: 'babel-loader'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
new Dotenv({
|
||||
path: './.env'
|
||||
})
|
||||
]
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue