Skip to content

Commit 8864ac8

Browse files
committed
v4.1.0: umd build
1 parent 5b881b3 commit 8864ac8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "css-spring",
3-
"version": "4.0.0",
3+
"version": "4.1.0",
44
"description": "Generate physics based css-keyframe animations",
55
"main": "dist/css-spring.js",
66
"repository": {

webpack.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ module.exports = {
88
entry: './src/index.js',
99
output: {
1010
filename: `dist/css-spring${minify ? '.min' : ''}.js`,
11+
library: 'css-spring',
12+
libraryTarget: 'umd',
1113
},
1214
module: {
1315
rules: [

0 commit comments

Comments
 (0)