Unverified Commit 910c85c9 authored by Tasso Evangelista's avatar Tasso Evangelista Committed by GitHub
Browse files

fix: Build @rocket.chat/css-in-js as ES module (#166)

parent b69d7003
......@@ -20,6 +20,7 @@
"css-in-js"
],
"main": "dist/index.js",
"module": "dist/index.mjs",
"files": [
"dist"
],
......
......@@ -13,6 +13,11 @@ export default {
format: 'cjs',
sourcemap: true,
},
{
file: pkg.module,
format: 'esm',
sourcemap: true,
},
],
plugins: [
external(),
......
......@@ -120,8 +120,6 @@
}
},
"dependencies": {
"@emotion/hash": "^0.8.0",
"@emotion/stylis": "^0.8.5",
"@rocket.chat/css-in-js": "^0.4.0",
"@rocket.chat/fuselage-tokens": "^0.4.0",
"@rocket.chat/icons": "^0.4.0"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment