-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathwebpack.config.js
More file actions
26 lines (22 loc) · 740 Bytes
/
webpack.config.js
File metadata and controls
26 lines (22 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
const elixir = require("coldbox-elixir");
const fs = require('fs-extra');
elixir.base64SourceSize = 10000000000000;
elixir.config.mergeConfig({
plugins: [
{
// Copy static images over after emit
apply: (compiler) => {
compiler.hooks.afterEmit.tap('AfterEmitPlugin', (compilation) => {
fs.copySync('resources/assets/images/stachebox-icon.png', 'includes/images/stachebox-icon.png')
fs.copySync('resources/assets/images/stachebox-logo.png', 'includes/images/stachebox-logo.png')
fs.copySync('resources/assets/images/stachebox-logo-h.png', 'includes/images/stachebox-logo-h.png')
})
}
}
]
});
module.exports = elixir(function(mix) {
mix.css( "app.css" )
.css( "email.css" )
.vue( "app.js" );
});