-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpack.mix.js
30 lines (26 loc) · 1.04 KB
/
webpack.mix.js
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
27
28
29
30
const mix = require('laravel-mix');
const path = require('path');
mix.webpackConfig({
resolve: {
alias: {
'@vue': path.resolve(__dirname, 'resources/vue'),
'@ts': path.resolve(__dirname, 'resources/ts')
}
}
})
.ts('resources/ts/app.ts', 'public/js').sourceMaps()
.sass('resources/sass/app.sass', 'public/css')
.copy('resources/icons/favicon.ico', 'public')
.copy('resources/woff/*.woff2', 'public/woff')
.copy('resources/icons/*', 'public/icon')
.copy('resources/img/*', 'public/img')
.copy('resources/img/super-haxagon/*', 'public/img/super-haxagon')
.copy('resources/img/my-website/*', 'public/img/my-website')
.copy('resources/img/click-net/*', 'public/img/click-net')
.copy('resources/img/hidden-perspective/*', 'public/img/hidden-perspective')
.copy('resources/img/archangel-stats/*', 'public/img/archangel-stats')
.copy('resources/img/rubric-pro/*', 'public/img/rubric-pro')
.copy('resources/img/midi-factorio/*', 'public/img/midi-factorio')
.copy('resources/img/steamworks-2017/*', 'public/img/steamworks-2017')
.vue()
.extract();