Skip to content

Commit

Permalink
remove minified build
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgoli committed Nov 10, 2023
1 parent 3d27f69 commit 38fc8e4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ $ yarn add rrule

Alternatively, download manually:

- [rrule.min.js](https://jkbrzt.github.io/rrule/dist/es5/rrule.min.js) (bundled, minified)
- [rrule.js](https://jkbrzt.github.io/rrule/dist/es5/rrule.js) (bundled, not minified)

```html
<script src="rrule/dist/es5/rrule.min.js"></script>
<script src="rrule/dist/es5/rrule.js"></script>
```

#### Server Side
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
"prettier": "^2.6.2",
"source-map-loader": "^3.0.1",
"source-map-support": "^0.5.16",
"terser-webpack-plugin": "^5.3.3",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.0",
"ts-node": "^10.8.1",
Expand Down
6 changes: 0 additions & 6 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const path = require('path')
const TerserPlugin = require('terser-webpack-plugin')

const paths = {
source: path.resolve(__dirname, 'src'),
Expand Down Expand Up @@ -31,17 +30,12 @@ const commonConfig = {
},
],
},
optimization: {
minimize: true,
minimizer: [new TerserPlugin()],
},
}

const rruleConfig = Object.assign(
{
entry: {
rrule: path.join(paths.source, 'index.ts'),
'rrule.min': path.join(paths.source, 'index.ts'),
},
},
commonConfig
Expand Down

0 comments on commit 38fc8e4

Please sign in to comment.