Skip to content

Repository files navigation

TOML Loader

Licensed under MPL 2.0Build Statusnpm

Webpack loader for TOML files. Supports the latest TOML spec, and provides named exports.

yarn add @lcdev/toml-loader@1
# or for npm
npm i @lcdev/toml-loader@1
// in your loaders:module: {rules: [{test: /\.toml$/,use: {loader: '@lcdev/toml-loader'},},],},

Usage

Supports default export with all file contents, and named exports.

importcontentsfrom'./my-file.toml';import{namedExport}from'./my-other-file.toml';

Alternatives

About

Webpack loader for TOML files

Resources

Contributing

Stars

12 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages