-
Notifications
You must be signed in to change notification settings - Fork 49
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
style is broken on build but works on dev env #103
Comments
How are you adding styles to your components? I'm having a similar issue where I'm converting an application and all of our components are imported as such, and styles are only applied in dev, not production builds:
|
@SolidZORO I have removed all third party packages and have run |
can you share a demo repo for me? |
Here is a demo repo showing the issue, give the readme a read and it'll show exactly what's wrong. Thanks a ton for looking into this @SolidZORO, it's very much appreciated. Let me know if you have any other questions. |
@NickBeukema hi, you just change _app.tsx I just know it works but I don't know why. |
try echo 'declare module "*.less";' > less.d.ts or declare module "*.less" {
const classes: { [key: string]: string };
export default classes;
} |
Hi @SolidZORO, I'm having a similar issue with
When I run Would love your help here :) |
Hi there I'm trying to use this plugin in my project
I'm using
and here is my next config file
Everything is working fine on running
yarn dev
but on run
yarn build
thenyarn start
I found the style is brokenall the styles i added is not used
The text was updated successfully, but these errors were encountered: