Skip to content

A loader for Webpack that allows importing Proven application code

Notifications You must be signed in to change notification settings

proven-network/proven-loader

Repository files navigation

Proven Loader

A Webpack loader for importing Proven application code.

Installation

npm install --save-dev @proven-network/loader

or

yarn add -D @proven-network/loader

Usage

With Webpack

Add the loader to your webpack.config.js:

module.exports = {
  module: {
    rules: [
      {
        test: /\.proven(.js|.ts)$/,
        use: 'proven-loader',
      },
    ],
  },
}

With Next.js

Add the loader to your next.config.js:

/** @type {import("next").NextConfig} */
const config = {
  webpack: (config) => {
    config.module.rules.push({
      test: /\.proven(.js|.ts)$/,
      use: 'proven-loader',
    })

    return config
  },
}

export default config

About

A loader for Webpack that allows importing Proven application code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published