Skip to content
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

Should tree shaking be working? #260

Open
eavonius opened this issue May 1, 2021 · 1 comment
Open

Should tree shaking be working? #260

eavonius opened this issue May 1, 2021 · 1 comment

Comments

@eavonius
Copy link

eavonius commented May 1, 2021

Hello,

Great plugin first of all. Only thing I've run into is it seems difficult to get tree sharking working.

Out of the two options available (@import css file in layout, specify css file in amp plugin config in nuxt.config) is there any impact on this or tips you can provide?

Thanks!

@Beethoven
Copy link

I use tailwind and works perfect the tree shaking.
Need
amp: {
removeInlineStyles: false
}
in nuxt.config to use inline styles

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

No branches or pull requests

2 participants