mirror of
https://github.com/astuto/astuto.git
synced 2025-12-14 18:57:51 +01:00
Switch from webpacker to (css|js)bundling-rails (#227)
* Install jsbundling-rails, uninstall rails/webpacker * Remove outdated step from run-tests workflow * Use cssbundling-rails for CSS
This commit is contained in:
committed by
GitHub
parent
e79d550070
commit
d8cf46c351
25
package.json
25
package.json
@@ -2,15 +2,28 @@
|
||||
"name": "astuto",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build:css": "sass ./app/assets/stylesheets/application.sass.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules",
|
||||
"build": "webpack --config ./config/webpack/webpack.config.js"
|
||||
},
|
||||
"babel": {
|
||||
"presets": [
|
||||
"@babel/preset-env",
|
||||
"@babel/preset-react",
|
||||
"@babel/preset-typescript"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/preset-react": "7.0.0",
|
||||
"@babel/core": "^7.21.8",
|
||||
"@babel/preset-env": "^7.21.5",
|
||||
"@babel/preset-react": "^7.18.6",
|
||||
"@babel/preset-typescript": "^7.21.5",
|
||||
"@rails/actioncable": "6.1.7-3",
|
||||
"@rails/activestorage": "6.1.7-3",
|
||||
"@rails/ujs": "6.1.7-3",
|
||||
"@rails/webpacker": "5.4.4",
|
||||
"@types/react": "16.9.2",
|
||||
"@types/react-dom": "16.9.0",
|
||||
"babel-loader": "^9.1.2",
|
||||
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
||||
"bootstrap": "4.6.2",
|
||||
"i18n-js": "3.9.2",
|
||||
@@ -30,11 +43,13 @@
|
||||
"react_ujs": "2.6.0",
|
||||
"redux": "4.0.4",
|
||||
"redux-thunk": "2.3.0",
|
||||
"sass": "^1.62.1",
|
||||
"turbolinks": "5.2.0",
|
||||
"typescript": "4.3.2"
|
||||
"typescript": "4.3.2",
|
||||
"webpack": "^5.82.1",
|
||||
"webpack-cli": "^5.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react-redux": "7.1.3",
|
||||
"webpack-dev-server": "3.11.3"
|
||||
"@types/react-redux": "7.1.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user