Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 515 Bytes

File metadata and controls

47 lines (31 loc) · 515 Bytes

This is a simple example that shows the usage of a custom parser for json-modules.

Toml, yaml and json5 files can be imported like other modules without toml-loader.

data.toml

_{{data.toml}}_

data.yaml

_{{data.yaml}}_

data.json5

_{{data.json5}}_

example.js

_{{example.js}}_

webpack.config.js

_{{webpack.config.js}}_

js/output.js

_{{dist/output.js}}_

Info

webpack output

_{{stdout}}_