mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Move webpack build dependencies to production
Move postcss-loader, postcss, and autoprefixer from devDependencies to dependencies. These packages are required during webpack compilation which happens in production during 'rails assets:precompile'. Fixes error: Module not found: Error: Can't resolve 'postcss-loader' Webpacker requires build tools in dependencies, not devDependencies, because asset compilation happens on the production server. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
1895942b15
commit
11badda401
@ -26,14 +26,14 @@
|
||||
"stimulus": "^3.0.1",
|
||||
"stimulus-animated-number": "^4.0.0",
|
||||
"stimulus-dropdown": "^2.1.0",
|
||||
"tailwindcss": "^2.2.19"
|
||||
"tailwindcss": "^2.2.19",
|
||||
"postcss-loader": "^4.0.0",
|
||||
"postcss": "^8.4.5",
|
||||
"autoprefixer": "^10.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.13.15",
|
||||
"autoprefixer": "^10.4.0",
|
||||
"babel-loader": "^8.2.2",
|
||||
"postcss": "^8.4.5",
|
||||
"postcss-loader": "^4.0.0",
|
||||
"webpack-dev-server": "^3.11.2"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user