Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marius-wieschollek/passwords-webextension.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius David Wieschollek <passwords.public@mdns.eu>2020-03-08 01:29:41 +0300
committerMarius David Wieschollek <passwords.public@mdns.eu>2020-03-08 01:29:41 +0300
commit710e9cdc69d9464f284c9c83bd68a7a9847c9493 (patch)
treef738d91da4999f0d6c0e6fc90b3296af41138da8 /webpack.config.js
parente8ffd3b93ae5842ff405fa39c05e0416b844356a (diff)
Added custom theme section
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js17
1 files changed, 4 insertions, 13 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 205fee8..af7b166 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -42,7 +42,7 @@ module.exports = env => {
);
}
- let platformDir = platform === 'firefox' ? `${__dirname}/src/js/Platform`:`${__dirname}/src/platform/${platform}/js/Platform`;
+ let jsPlatformDir = platform === 'firefox' ? `${__dirname}/src/js/Platform`:`${__dirname}/src/platform/${platform}/js/Platform`;
return {
mode : production ? 'production':'development',
devtool: 'none',
@@ -64,9 +64,10 @@ module.exports = env => {
alias : {
'vue$' : 'vue/dist/vue.esm.js',
'@vue' : `${__dirname}/src/vue`,
- '@js/Platform': platformDir,
+ '@js/Platform': jsPlatformDir,
'@js' : `${__dirname}/src/js`,
- '@scss' : `${__dirname}/src/scss`
+ '@scss' : `${__dirname}/src/scss`,
+ '@scssP' : `${__dirname}/src/platform/${platform}/scss`
}
},
module : {
@@ -102,16 +103,6 @@ module.exports = env => {
outputStyle: 'compressed'
}
}
- },
- {
- loader : 'sass-resources-loader',
- options: {
- sourceMap: true,
- resources: [
- `${__dirname}/src/scss/includes.scss`,
- `${__dirname}/src/platform/${platform}/scss/browser.scss`
- ]
- }
}
]
}