-
-
Notifications
You must be signed in to change notification settings - Fork 75
standalone cli #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
standalone cli #89
Conversation
…ssionate-burmese-d76145e3f4
@@ -0,0 +1 @@ | |||
v16.13.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slightly nit and potentially unrelated but should we just add 16?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
16 sounds good.
We can change it in a different PR, or straight to main.
@@ -8,8 +8,8 @@ export function packageJavascript() { | |||
{ | |||
input: 'src/index.js', | |||
output: [ | |||
{ file: 'dist/index.cjs', format: 'cjs', sourcemap: true, exports: 'auto' }, | |||
{ file: 'dist/index.mjs', format: 'esm', sourcemap: true, exports: 'auto' }, | |||
{ file: 'dist/index.cjs', format: 'cjs', sourcemap: false, exports: 'auto' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️ that you've disabled sourcemaps here too! Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Impressive work! Will merge soon :)
Can you add the CLI to the autolabeler too? |
postcss-preset-env
This is intended to be a non-breaking change.
So hopefully I did not overlook anything.
To test :
npm ci npm run build npm install cd plugin-packs/csstools-cli npm run csstools-cli npm run csstools-cli css-has-pseudo ...
last install might not be needed, unsure
The goal here is to reduce the package size of all plugins:
before
after
update : I also excluded
INSTALL.md
from the published package, saves another ±5kB