diff --git a/.gitignore b/.gitignore index 40579edd4..3b3f9ebf3 100644 --- a/.gitignore +++ b/.gitignore @@ -18,7 +18,7 @@ last-package-build.md5 src/views/admin/scss/.sass-cache src/assets/css/tainacan-admin.css src/assets/css/tainacan-admin.css.map -src/assets/report.html +src/assets/js/report.html .vscode src/pdf-viewer/pdfjs-dist report.txt diff --git a/webpack.config.js b/webpack.config.js index c43b94021..244163cef 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -52,12 +52,13 @@ module.exports = { }, { test: /\.vue$/, + exclude: /node_modules/, loader: 'vue-loader' }, { test: /\.js$/, + exclude: /node_modules/, loader: 'babel-loader', - exclude: /node_modules/ }, { test: /\.(png|jpg|jpeg|gif|eot|ttf|otf|woff|woff2|svg|svgz)(\?.+)?$/, @@ -73,6 +74,7 @@ module.exports = { }, { test: /\.s[ac]ss$/, + exclude: /node_modules/, use: [ { loader: 'style-loader',