babel-loader-lerna-cra
babel-loader-lerna-cra copied to clipboard
Transpile Create-React-App imports in Lerna projects.
New version of react-scripts not working with current path
Hi, I'm unable to run the bootstrap command when using react-script 2.1.3 or higher. This is because since v2.1.3 (or somewhere around there) the webpack.config scripts changed. There are no...
Plugin does not support CRA with TS yet. This PR fixed it. I fixed thing in your comment at [PR1](https://github.com/F1LT3R/babel-loader-lerna-cra/pull/2) and now we are checking array of ext.
after following tutorial on medium, this crab happens ``` internal/modules/cjs/loader.js:589 throw err; ^ Error: Cannot find module 'webpack' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15) at Function.Module._load (internal/modules/cjs/loader.js:513:25) at Module.require (internal/modules/cjs/loader.js:643:17) at require (internal/modules/cjs/helpers.js:22:18)...
CRA added Typescript support, this ensures ts and tsx estensions are included. Resolves issue #1 The test follows the same pattern as in CRA's webpack config file: [CRA test](https://github.com/facebook/create-react-app/blob/77f8df7ad73daced49b20a7b59776b90d311b5ff/packages/react-scripts/config/webpack.config.dev.js#L232)