Skip to content

Conversation

@MartijnCuppens
Copy link
Contributor

Fixes #1867

See comparison between what files are published here: https://www.diffchecker.com/NhRXqAQj

I stripped out the most obvious files, but I'm unsure if all CSS/JS files that are published are needed.

@adamwathan
Copy link
Member

This looks great, thanks @MartijnCuppens! I notice we lose the source maps for the CDN builds, I guess there's no real benefit to even generating those in the first place maybe?

@MartijnCuppens
Copy link
Contributor Author

The sourcemaps are indeed pretty useless since the only thing sourcesContent refer to is an @apply statement.

I've now removed the sourcemaps in a separate commit. New overview of which files are being published: https://www.diffchecker.com/sKSlBHOr

@adamwathan adamwathan merged commit a052332 into tailwindlabs:master Jun 29, 2020
@adamwathan
Copy link
Member

Thanks @MartijnCuppens!

@MartijnCuppens MartijnCuppens deleted the npm-files branch June 29, 2020 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ditch .npmignore in favor of files option in package.json

2 participants