diff --git a/package.json b/package.json index 34015489..d8a32e5f 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "scripts": { "build": "yarn build:clean && yarn build:umd && yarn build:esm && yarn build:css", "": "// TODO: have a proper build:css, probably including autoprefixer?", - "build:css": "cp src/style.css dist/esm/ && cp src/style.css dist/umd/", + "build:css": "cp src/style.css dist/style.css", "build:css:watch": "chokidar src/style.css --command \"yarn build:css\"", "build:esm": "babel src --root-mode upward --extensions '.ts,.tsx' --out-dir dist/esm", "build:esm:watch": "yarn build:esm --watch", diff --git a/style.js b/style.js index d4b1ce09..f2076fb0 100644 --- a/style.js +++ b/style.js @@ -1 +1 @@ -export * from './dist/esm/style.css'; +export * from './dist/style.css';