Skip to content

Commit

Permalink
chore: simplify bundle content (#12)
Browse files Browse the repository at this point in the history
* fix: add dist

* chore: add only minified version for lib

Co-authored-by: Ratnadeep Simhadri <rsimhadri@paypal.com>
  • Loading branch information
RatnadeepSimhadri and Ratnadeep Simhadri committed Aug 16, 2022
1 parent 109283d commit 2fbfd8e
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 189 deletions.
2 changes: 0 additions & 2 deletions dist/index.min.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/index.min.js.map

This file was deleted.

6 changes: 0 additions & 6 deletions dist/module/babel.config.js

This file was deleted.

54 changes: 0 additions & 54 deletions dist/module/component.js

This file was deleted.

32 changes: 0 additions & 32 deletions dist/module/constants.js

This file was deleted.

19 changes: 0 additions & 19 deletions dist/module/index.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/module/types.js

This file was deleted.

66 changes: 0 additions & 66 deletions dist/module/util/index.js

This file was deleted.

9 changes: 1 addition & 8 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,10 @@ const MODULE_NAME = 'paypal-legal-components';

export const WEBPACK_CONFIG = getWebpackConfig({
filename: `${ FILE_NAME }.js`,
modulename: MODULE_NAME
});

export const WEBPACK_CONFIG_MIN = getWebpackConfig({
filename: `${ FILE_NAME }.min.js`,
modulename: MODULE_NAME,
minify: true,
vars: {
__MIN__: true
}
});


export default [ WEBPACK_CONFIG, WEBPACK_CONFIG_MIN ]; // eslint-disable-line import/no-default-export
export default [ WEBPACK_CONFIG ]; // eslint-disable-line import/no-default-export

0 comments on commit 2fbfd8e

Please sign in to comment.