Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Update webpack.config.js to export only UMD
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucio Martinez committed Sep 8, 2020
1 parent 4e146ae commit 6fc7824
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "gtag-opt-in",
"version": "1.0.0-alpha.5",
"version": "1.0.0-alpha.6",
"description": "GTag Opt In",
"main": "dist/index.js",
"module": "dist/index.umd.js",
"main": "lib/index.js",
"module": "lib/index.js",
"scripts": {
"build": "npx webpack --config webpack.config.js",
"test": "jest",
Expand Down
9 changes: 0 additions & 9 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@ module.exports = [{
filename: 'index.js',
path: path.resolve(__dirname, 'dist'),
library: 'GTagOptIn',
libraryTarget: 'var'
},
mode: 'production'
},{
entry: './src/index.js',
output: {
filename: 'index.umd.js',
path: path.resolve(__dirname, 'dist'),
library: 'GTagOptIn',
libraryTarget: 'umd'
},
mode: 'production'
Expand Down

0 comments on commit 6fc7824

Please sign in to comment.