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

Test react-on-webpacker package #24

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions config/webpack/clientWebpackConfig.js

This file was deleted.

14 changes: 0 additions & 14 deletions config/webpack/commonWebpackConfig.js

This file was deleted.

2 changes: 1 addition & 1 deletion config/webpack/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin')
const path = require('path')
const { devServer, inliningCss } = require('@rails/webpacker')

const webpackConfig = require('./webpackConfig')
const webpackConfig = require('react-on-webpacker')

const developmentEnvOnly = (clientWebpackConfig, serverWebpackConfig) => {

Expand Down
120 changes: 0 additions & 120 deletions config/webpack/serverWebpackConfig.js

This file was deleted.

34 changes: 0 additions & 34 deletions config/webpack/webpackConfig.js

This file was deleted.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-on-rails": "12.2.0",
"react-on-webpacker": "^0.0.1-beta.0",
"style-loader": "^3.3.1",
"typescript": "^4.0.5"
},
"devDependencies": {
Expand Down
33 changes: 32 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1747,7 +1747,7 @@ browserslist@^4.0.0, browserslist@^4.16.0:
escalade "^3.1.1"
node-releases "^1.1.71"

browserslist@^4.14.5, browserslist@^4.16.6, browserslist@^4.17.3:
browserslist@^4.14.5, browserslist@^4.16.6:
version "4.17.3"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.3.tgz#2844cd6eebe14d12384b0122d217550160d2d624"
integrity sha512-59IqHJV5VGdcJZ+GZ2hU5n4Kv3YiASzW6Xk5g9tf5a/MAzGeFwgGWU39fVzNIOVcgB3+Gp+kiQu0HEfTVU/3VQ==
Expand All @@ -1758,6 +1758,17 @@ browserslist@^4.14.5, browserslist@^4.16.6, browserslist@^4.17.3:
node-releases "^1.1.77"
picocolors "^0.2.1"

browserslist@^4.17.0:
version "4.18.1"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.18.1.tgz#60d3920f25b6860eb917c6c7b185576f4d8b017f"
integrity sha512-8ScCzdpPwR2wQh8IT82CA2VgDwjHyqMovPBZSNH54+tm4Jk2pCuv90gmAdH6J84OCRWi0b4gMe6O6XPXuJnjgQ==
dependencies:
caniuse-lite "^1.0.30001280"
electron-to-chromium "^1.3.896"
escalade "^3.1.1"
node-releases "^2.0.1"
picocolors "^1.0.0"

browserslist@^4.17.6:
version "4.17.6"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.6.tgz#c76be33e7786b497f66cad25a73756c8b938985d"
Expand Down Expand Up @@ -1839,6 +1850,11 @@ caniuse-lite@^1.0.30001274:
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001278.tgz#51cafc858df77d966b17f59b5839250b24417fff"
integrity sha512-mpF9KeH8u5cMoEmIic/cr7PNS+F5LWBk0t2ekGT60lFf0Wq+n9LspAj0g3P+o7DQhD3sUdlMln4YFAWhFYn9jg==

caniuse-lite@^1.0.30001280:
version "1.0.30001282"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001282.tgz#38c781ee0a90ccfe1fe7fefd00e43f5ffdcb96fd"
integrity sha512-YhF/hG6nqBEllymSIjLtR2iWDDnChvhnVJqp+vloyt2tEHFG1yBR+ac2B/rOw0qOK0m0lEXU2dv4E/sMk5P9Kg==

chalk@^2.0.0, chalk@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
Expand Down Expand Up @@ -2411,6 +2427,11 @@ electron-to-chromium@^1.3.886:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.891.tgz#51d7224e64157656276f152a0b3361708fde1bf9"
integrity sha512-3cpwR82QkIS01CN/dup/4Yr3BiOiRLlZlcAFn/5FbNCunMO9ojqDgEP9JEo1QNLflu3pEnPWve50gHOEKc7r6w==

electron-to-chromium@^1.3.896:
version "1.4.0"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.0.tgz#7456192519838f881e35e4038bf4ad2c36353e63"
integrity sha512-+oXCt6SaIu8EmFTPx8wNGSB0tHQ5biDscnlf6Uxuz17e9CjzMRtGk9B8705aMPnj0iWr3iC74WuIkngCsLElmA==

emoji-regex@^7.0.1:
version "7.0.3"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156"
Expand Down Expand Up @@ -4197,6 +4218,11 @@ react-on-rails@12.2.0:
"@babel/runtime-corejs3" "^7.12.5"
concurrently "^5.1.0"

react-on-webpacker@^0.0.1-beta.0:
version "0.0.1-beta.0"
resolved "https://registry.yarnpkg.com/react-on-webpacker/-/react-on-webpacker-0.0.1-beta.0.tgz#3ab5afcc70c97690294918f2c4ad42aae5514489"
integrity sha512-kDei7jJtdVenZhhEvFyO3vi6Z0uUzsqLvPNgDr1jUJ3AGVndffK/uvybOOeThuNmrA1R370BKJeY2TnWnqEEnA==

react-refresh@^0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.9.0.tgz#71863337adc3e5c2f8a6bfddd12ae3bfe32aafbf"
Expand Down Expand Up @@ -4729,6 +4755,11 @@ strip-final-newline@^2.0.0:
resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad"
integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==

style-loader@^3.3.1:
version "3.3.1"
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-3.3.1.tgz#057dfa6b3d4d7c7064462830f9113ed417d38575"
integrity sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ==

stylehacks@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-5.0.1.tgz#323ec554198520986806388c7fdaebc38d2c06fb"
Expand Down