3.0.0-next.2 • Published 6 months ago
@flatjs/rs-evolve v3.0.0-next.2
@flatjs/rs-evolve
Note: because below configuration of tsconfig.json
{ "baseUrl": "./src" }We should not create folder name like webpack in src/webpack;
- while we use
import { moduleX } from webpack; it will resolvemoduleXfromsrc/webpackinstead import fromnode_modules - while use
vitestit may broken cause of wrongwebpackimported. - change
src/webpacktosrc/create-webpackis ok.
Notes: cause of esm
import { webpack } from 'webpack'should be change toimport webpack from 'webpack'import { merge } from 'lodash'should be change toimport _ from 'lodash'