An open API service indexing awesome lists of open source software.

https://github.com/ultcombo/module-folding-example


https://github.com/ultcombo/module-folding-example

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

Um exemplo simples de *module folding* (*tree-shaking*) usando [Webpack](https://webpack.github.io/).

```sh
# Baixar e instalar o exemplo:
git clone https://github.com/UltCombo/module-folding-example.git
cd module-folding-example
npm install

# Gerar *bundle* com module folding usando Webpack:
npm run build

# Rodar o código gerado:
node bundle.js
```