https://github.com/geowarin/fusebox-datefns
https://github.com/geowarin/fusebox-datefns
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/geowarin/fusebox-datefns
- Owner: geowarin
- Created: 2017-02-23T10:21:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-23T10:57:08.000Z (about 8 years ago)
- Last Synced: 2024-12-25T14:07:56.936Z (4 months ago)
- Language: JavaScript
- Size: 5.12 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Bundle subpackages in vendors problem
```
yarn
yarn start
```This will generate two bundles: `dist/index.js`, `dist/vendor.js`.
Open index.html in a browser.
It should print the date in french.Instead it fails like this:

The problem is I did not find a way to include `date-fns/locale/fr` in
`vendor.js`.See [this config](https://github.com/geowarin/fusebox-datefns/blob/270de01e5290517650c1618f7c8f20dbeb47c5cb/fuse.js#L8-L8)