unbuild icon indicating copy to clipboard operation
unbuild copied to clipboard

Support `alias` in stub mode

Open peterroe opened this issue 2 years ago • 0 comments

Describe the feature

export default defineBuildConfig({
    entries: [ './packages/core/jimu' ],
    failOnWarn: false,
    stub: true,
    alias: {		// Not effective when stub is true
        '@': resolve(__dirname, './')
    },
});

Additional information

  • [x] Would you be willing to help implement this feature?

peterroe avatar Aug 07 '23 07:08 peterroe