-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.mix.js
29 lines (27 loc) · 1.19 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
let mix = require('laravel-mix')
mix.copy('src/html', 'extension-build/html')
mix.copy('src/manifest.json', 'extension-build')
mix.copy('src/icons', 'extension-build/icons')
mix.copy('src/styles/font-files', 'extension-build/css/font-files')
mix
.setPublicPath('./')
.sass('src/styles/inter.scss', 'extension-build/css')
.sass('src/styles/linkedin.scss', 'extension-build/css')
.sass('src/styles/twitter.scss', 'extension-build/css')
.sass('src/styles/twitter-dim.scss', 'extension-build/css')
.sass('src/styles/twitter-dark.scss', 'extension-build/css')
.sass('src/styles/youtube.scss', 'extension-build/css')
.sass('src/styles/youtube-dark.scss', 'extension-build/css')
.sass('src/styles/github.scss', 'extension-build/css')
.sass('src/styles/github-dark.scss', 'extension-build/css')
.sass('src/styles/github-dim.scss', 'extension-build/css')
.sass('src/styles/popup.scss', 'extension-build/css')
.ts('src/ts/focus/focus.ts', 'extension-build')
.ts('src/ts/background.ts', 'extension-build')
.ts('src/ts/vue/feed-card-controller.ts', 'extension-build/js')
.vue()
.ts('src/ts/vue/popup-card-controller.ts', 'extension-build/js')
.vue()
.options({
processCssUrls: false,
})