Use commonjs for .storybook/

This commit is contained in:
yushijinhun 2020-07-13 13:24:52 +08:00
parent e1f8d52cb6
commit 86731e23b9
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
2 changed files with 4 additions and 0 deletions

3
.storybook/package.json Normal file
View File

@ -0,0 +1,3 @@
{
"type": "commonjs"
}

View File

@ -3,6 +3,7 @@
"version": "2.0.1",
"description": "Three.js powered Minecraft skin viewer",
"main": "libs/skinview3d.js",
"type": "module",
"scripts": {
"clean": "rimraf libs bundles",
"build:modules": "tsc --declaration --sourceMap --outDir libs -p .",