@dathuis/mjml-loader
TypeScript icon, indicating that this package has built-in type declarations

4.6.4 • Public • Published

Webpack mjml-loader

npm install --save @dathuis/mjml-loader

You can use any of the available options via the options object. By default, the filePath is set to the directory of the mjml file currently loaded to allow relative paths.

Usage

module: {
  rules: [
    {
      test: /\.mjml$/,
      use: {
        loader: '@dathuis/mjml-loader',
        options: {
          minify: true
        }
      },
    },
  ],
},

Readme

Keywords

Package Sidebar

Install

npm i @dathuis/mjml-loader

Weekly Downloads

57

Version

4.6.4

License

MIT

Unpacked Size

3.64 kB

Total Files

4

Last publish

Collaborators

  • philiiiiiipp