mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Document babel caching (#1432)
This commit is contained in:
parent
8bd46c8380
commit
1a7e804361
|
@ -26,3 +26,7 @@ now
|
|||
## The idea behind the example
|
||||
|
||||
This example show how to set custom environment variables for your application based on NODE_ENV using [transform-define](https://github.com/FormidableLabs/babel-plugin-transform-define).
|
||||
|
||||
## Caveats
|
||||
|
||||
Because a babel plugin is used the output is cached in `node_modules/.cache` by `babel-loader`. When modifying the configuration you will have to manually clear this cache to make changes visible.
|
||||
|
|
Loading…
Reference in a new issue