1.0.0 • Published 4 years ago

@evolves/php-loader v1.0.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
4 years ago

npm

@evolves/php-loader

PHP loader for webpack 5

Getting Started

To begin, you'll need to install @evolves/php-loader:

$ npm install @evolves/php-loader --save-dev

Then add the loader to your webpack config. For example:

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /.ext$/,
        use: [
          {
            loader: `@evolves/php-loader`,
            options: {
              name: "[name].html",
              outputPath: "/"
            },
          },
        ],
      },
    ],
  },
};

Contributing

Please take a moment to read our contributing guidelines if you haven't yet done so.

CONTRIBUTING

License

MIT

1.0.0

4 years ago