Merge pull request #63 from nextcloud/js/move_code

Move js
This commit is contained in:
Roeland Jago Douma 2019-08-30 21:17:14 +02:00 committed by GitHub
commit 2e3be4d460
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 4 additions and 4 deletions

View file

@ -59,8 +59,8 @@
"main": "src/js/main.js",
"scripts": {
"dev": "webpack --config webpack.dev.js",
"watch": "webpack --progress --watch --config webpack.dev.js",
"build": "webpack --progress --hide-modules --config webpack.prod.js",
"watch": "webpack --progress --watch --config src/webpack.dev.js",
"build": "webpack --progress --hide-modules --config src/webpack.prod.js",
"lint": "eslint --ext .js,.vue src",
"lint:fix": "eslint --ext .js,.vue src --fix",
"test": "jest",

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 569 B

After

Width:  |  Height:  |  Size: 569 B

View file

Before

Width:  |  Height:  |  Size: 476 B

After

Width:  |  Height:  |  Size: 476 B

View file

Before

Width:  |  Height:  |  Size: 958 B

After

Width:  |  Height:  |  Size: 958 B

View file

Before

Width:  |  Height:  |  Size: 852 B

After

Width:  |  Height:  |  Size: 852 B

View file

@ -4,10 +4,10 @@ const { VueLoaderPlugin } = require('vue-loader');
module.exports = {
entry: {
'forms' : path.join(__dirname, 'src/js/', 'main.js'),
'forms' : path.join(__dirname, 'main.js'),
},
output: {
path: path.resolve(__dirname, './js'),
path: path.resolve(__dirname, '../js'),
publicPath: '/js/',
filename: '[name].js'
},