-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Upgrade react-scripts to v5, Support Webpack 5.x #198
Comments
jaywcjlove
added a commit
that referenced
this issue
Mar 12, 2021
This was referenced Mar 15, 2021
jaywcjlove
added a commit
that referenced
this issue
Mar 26, 2021
jaywcjlove
added a commit
that referenced
this issue
Mar 26, 2021
TypeError: Cannot read property 'javascript' of undefined |
jaywcjlove
added a commit
that referenced
this issue
Mar 26, 2021
This was referenced Mar 26, 2021
jaywcjlove
added a commit
that referenced
this issue
Apr 12, 2021
This was referenced Jun 10, 2021
jaywcjlove
added a commit
that referenced
this issue
Dec 26, 2021
jaywcjlove
added a commit
that referenced
this issue
Dec 27, 2021
WARNING in ./node_modules/codesandbox-import-utils/lib/api/define.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map
from '/git-project/@uiw/react/react-codesandbox/node_modules/codesandbox-import-utils/src/api/define.ts'
file: Error: ENOENT: no such file or directory,
open '/git-project/@uiw/react/react-codesandbox/node_modules/codesandbox-import-utils/src/api/define.ts'
export default (conf: Configuration, env: 'development' | 'production', options: LoaderConfOptions) => {
// ....
// ⇣⇣⇣⇣⇣⇣⇣⇣⇣⇣⇣⇣⇣⇣⇣⇣⇣⇣⇣⇣⇣
if (conf.module && conf.module.rules && conf.module.rules[0]) {
const rules = conf.module.rules[0];
if (typeof rules === 'object' && typeof rules.loader === 'string' && /source-map-loader/.test(rules.loader)) {
;(conf.module.rules[0] as any).exclude = /((@babel(?:\/|\\{1,2})runtime)|codesandbox-import-utils)/;
}
}
// ⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡⇡
} Footnotes |
> kkt build --app-src ./website
Creating an optimized production build...
Failed to compile.
Error: true is not a PostCSS plugin
at runMicrotasks (<anonymous>)
|
This was referenced Dec 31, 2021
jaywcjlove
changed the title
Upgrade webpack v5
Upgrade react-scripts to v5, Support Webpack 5.x
Jan 1, 2022
jaywcjlove
added a commit
to uiwjs/react-code-preview
that referenced
this issue
Jan 2, 2022
Error: true is not a PostCSS plugin kktjs/kkt#324 kktjs/kkt#198
jaywcjlove
added a commit
to uiwjs/react-markdown-editor
that referenced
this issue
Jan 8, 2022
kktjs/kkt#198 Upgrade react-scripts to v5, Support Webpack 5.x
jaywcjlove
added a commit
to uiwjs/react-baidu-map
that referenced
this issue
Jan 8, 2022
Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
jaywcjlove
added a commit
to uiwjs/npm-unpkg
that referenced
this issue
Jan 8, 2022
Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
jaywcjlove
added a commit
to jaywcjlove/tsbb
that referenced
this issue
Jan 8, 2022
jaywcjlove
added a commit
to uiwjs/react-amap
that referenced
this issue
Jan 8, 2022
Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
Module not found: Error: Can't resolve 'path' in '/home/runner/work/react-amap/react-amap/node_modules/@uiw/react-code-preview/node_modules/@babel/core/lib/transformation'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
- install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "path": false } https://github.com/uiwjs/react-amap/runs/4749457776?check_suite_focus=true |
jaywcjlove
pushed a commit
to uiwjs/react-amap
that referenced
this issue
Jan 8, 2022
jaywcjlove
added a commit
to uiwjs/react-github-corners
that referenced
this issue
Jan 10, 2022
Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
jaywcjlove
added a commit
to uiwjs/react-split
that referenced
this issue
Jan 10, 2022
Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
jaywcjlove
added a commit
to uiwjs/react-clock
that referenced
this issue
Jan 10, 2022
Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
jaywcjlove
added a commit
to uiwjs/react-clock
that referenced
this issue
Jan 10, 2022
Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
jaywcjlove
added a commit
to uiwjs/react-domain-verify
that referenced
this issue
Jan 10, 2022
Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
jaywcjlove
added a commit
to uiwjs/ui-color
that referenced
this issue
Jan 10, 2022
Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
jaywcjlove
added a commit
to uiwjs/react-only-when
that referenced
this issue
Jan 10, 2022
Upgrade react-scripts to v5, Support Webpack 5 kktjs/kkt#198
jaywcjlove
added a commit
to uiwjs/react-stackblitz
that referenced
this issue
Jan 10, 2022
Upgrade react-scripts to v5, Support Webpack 5 kktjs/kkt#198
jaywcjlove
added a commit
to uiwjs/react-codepen
that referenced
this issue
Jan 10, 2022
Upgrade react-scripts to v5, Support Webpack 5 kktjs/kkt#198
Creating an optimized production build...
Compiled with warnings.
./node_modules/@babel/standalone/babel.js
Critical dependency: the request of a dependency is an expression
./node_modules/@babel/standalone/babel.js
Critical dependency: the request of a dependency is an expression 临时解决方案 $ CI=false npm run doc module.exports = {
//...
module: {
exprContextCritical: true,
},
}; |
jaywcjlove
added a commit
to uiwjs/react-prismjs
that referenced
this issue
Jan 10, 2022
Upgrade react-scripts to v5, Support Webpack 5 kktjs/kkt#198
jaywcjlove
added a commit
to uiwjs/react-shields
that referenced
this issue
Jan 10, 2022
Upgrade react-scripts to v5, Support Webpack 5 kktjs/kkt#198
jaywcjlove
added a commit
to uiwjs/keycode-info
that referenced
this issue
Jan 12, 2022
kktjs/kkt#198 Upgrade react-scripts to v5, Support Webpack 5.x
jaywcjlove
added a commit
to jaywcjlove/nginx-editor
that referenced
this issue
Jan 12, 2022
kktjs/kkt#198 Upgrade react-scripts to v5, Support Webpack 5
jaywcjlove
added a commit
to uiwjs/react-run-web
that referenced
this issue
Jan 12, 2022
jaywcjlove
added a commit
to jaywcjlove/dev-site
that referenced
this issue
Jan 12, 2022
KKT:BUILD:ERROR: TypeError: MiniCssExtractPlugin is not a constructor
at createWebpackConfig (/home/runner/work/react-code-preview/react-code-preview/node_modules/react-scripts/config/webpack.config.js:664:9)
at _callee$ (/home/runner/work/react-code-preview/react-code-preview/node_modules/kkt/src/scripts/build.ts:31:29)
at tryCatch (/home/runner/work/react-code-preview/react-code-preview/node_modules/regenerator-runtime/runtime.js:63:40)
at Generator.invoke [as _invoke] (/home/runner/work/react-code-preview/react-code-preview/node_modules/regenerator-runtime/runtime.js:294:22)
at Generator.next (/home/runner/work/react-code-preview/react-code-preview/node_modules/regenerator-runtime/runtime.js:119:21)
at asyncGeneratorStep (/home/runner/work/react-code-preview/react-code-preview/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (/home/runner/work/react-code-preview/react-code-preview/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9) npm i mini-css-extract-plugin@2.4.5 -D |
jaywcjlove
added a commit
to uiwjs/react-code-preview
that referenced
this issue
Jan 17, 2022
Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
whyzsm
pushed a commit
to whyzsm/antdp
that referenced
this issue
May 22, 2023
Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
jaywcjlove
added a commit
that referenced
this issue
May 27, 2023
Module not found: Error: Can't resolve 'path' in '/home/runner/work/react-color/react-color/node_modules/@babel/core/lib/transformation' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it.
shinyjohn0401
pushed a commit
to shinyjohn0401/react-codemirror
that referenced
this issue
Jan 22, 2024
Startup service stuck kktjs/kkt#330 Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Upgrade
react-scripts
to v5.kktrc.ts
The text was updated successfully, but these errors were encountered: