Skip to content

Commit

Permalink
re-add resolve rule and update package-lock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Nov 18, 2019
1 parent 4980635 commit 95a784a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 23 deletions.
35 changes: 13 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path');
const webpack = require('webpack');
const CopyWebpackPlugin = require('copy-webpack-plugin');

process.env.VUE_APP_VERSION = require('./package.json').version;
const { VUE_APP_CLASS_BASE } = process.env;
Expand All @@ -23,6 +23,11 @@ module.exports = {
},
productionSourceMap: false,
configureWebpack: {
resolve: {
alias: {
'@myparcel/sdk': path.resolve(__dirname, './myparcel-js-sdk'),
},
},
plugins: [
new webpack.DefinePlugin({
'process.env': {
Expand Down

0 comments on commit 95a784a

Please sign in to comment.