create-single-spa
create-single-spa copied to clipboard
Allow resolving modules from src directory
For example:
import 'src/thing.js'
{
resolve: {
alias: {
src: path.resolve(process.cwd(), 'src')
}
}
IMO: maybe best to just add to the docs site Custom Webpack Configuration section.
Benefits of not baking it in:
- no surprises for peeps who don't like alias-ing
- opportunity for peeps who go crazy with alias'ing to create as many as they want