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:
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`
- ]
- }
}
]
}