Skip to content

Commit

Permalink
Merge branch 'master' of github.com:/ChristophWurst/twofactor_sms int…
Browse files Browse the repository at this point in the history
…o release/0.7.0
  • Loading branch information
ChristophWurst committed Aug 7, 2018
2 parents d9f99d6 + 6b66af8 commit dae6dc9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
21 changes: 20 additions & 1 deletion js/webpack.base.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const path = require('path');
const {VueLoaderPlugin} = require('vue-loader')

module.exports = {
entry: './js/init.js',
Expand All @@ -20,7 +21,25 @@ module.exports = {
options: {
loaders: {}
}
},
{
test: /\.css$/,
use: [
{
loader: 'vue-style-loader'
},
{
loader: 'css-loader',
options: {
modules: true,
localIdentName: '[local]_[hash:base64:8]'
}
}
]
}
]
}
},
plugins: [
new VueLoaderPlugin()
]
};
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"test": "tests"
},
"scripts": {
"build": "./node_modules/webpack-cli/bin/webpack.js --config js/webpack.prod.config.js",
"dev": "./node_modules/webpack-cli/bin/webpack.js --config js/webpack.dev.config.js --watch",
"build": "./node_modules/webpack-cli/bin/cli.js --config js/webpack.prod.config.js",
"dev": "./node_modules/webpack-cli/bin/cli.js --config js/webpack.dev.config.js --watch",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand All @@ -24,6 +24,7 @@
"nextcloud_fetch": "^2.1.0",
"vue": "^2.5.17",
"vue-loader": "^15.2.7",
"vue-style-loader": "^4.1.1",
"vue-template-compiler": "^2.5.17"
},
"devDependencies": {
Expand Down

0 comments on commit dae6dc9

Please sign in to comment.