Microbundle: Hi I would like to know if is possible to customize webpack config you run adding babel-plugin-wildcard!

Created on 23 Apr 2020  路  1Comment  路  Source: developit/microbundle

I would like to support babel-plugin-wildcard, into my library.. is that possible to create using microbundle?

question

Most helpful comment

Hiya - Microbundle doesn't use Webpack, but it does use Babel and you can customize the config.
Just create a .babelrc in your project root:

{
  "plugins": [
    "babel-plugin-wildcard"
  ]
}

FWIW Microbundle already supports file globs for entries, so it's not super clear to me why wildcard directory imports would be required.

>All comments

Hiya - Microbundle doesn't use Webpack, but it does use Babel and you can customize the config.
Just create a .babelrc in your project root:

{
  "plugins": [
    "babel-plugin-wildcard"
  ]
}

FWIW Microbundle already supports file globs for entries, so it's not super clear to me why wildcard directory imports would be required.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

skipjack picture skipjack  路  11Comments

gamtiq picture gamtiq  路  28Comments

zzswang picture zzswang  路  14Comments

developit picture developit  路  14Comments

Conaclos picture Conaclos  路  11Comments