Use commonjs for .storybook/
This commit is contained in:
parent
e1f8d52cb6
commit
86731e23b9
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"type": "commonjs"
|
||||||
|
}
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
"description": "Three.js powered Minecraft skin viewer",
|
"description": "Three.js powered Minecraft skin viewer",
|
||||||
"main": "libs/skinview3d.js",
|
"main": "libs/skinview3d.js",
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rimraf libs bundles",
|
"clean": "rimraf libs bundles",
|
||||||
"build:modules": "tsc --declaration --sourceMap --outDir libs -p .",
|
"build:modules": "tsc --declaration --sourceMap --outDir libs -p .",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue