Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Commit

Permalink
Add target to node as we don't need the Window object. (#54)
Browse files Browse the repository at this point in the history
This fixes issues with SSR frameworks that don't have the Window object
available during the build phase.
  • Loading branch information
gijsroge authored and mazipan committed Apr 22, 2019
1 parent 0a9b718 commit e85e1d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
entry: {
VueCurrencyFilter: './src/VueCurrencyFilter.js',
},
target: 'node',
output: {
path: path.resolve(__dirname, 'dist'),
publicPath: '/dist',
Expand Down

0 comments on commit e85e1d5

Please # to comment.