check-realpath-webpack-plugin

check-realpath-webpack-plugin JS library on GitHub check-realpath-webpack-plugin JS library on npm Download check-realpath-webpack-plugin JS library

This is a webpack plugin that check native real path in Windows and MacOS.

Version 1.0.1 License MIT
check-realpath-webpack-plugin has no homepage
check-realpath-webpack-plugin JS library on GitHub
check-realpath-webpack-plugin JS library on npm
Download check-realpath-webpack-plugin JS library
Keywords
realpathwebpackplugincasepath

check-realpath-webpack-plugin

This is a webpack plugin that check native real path in Windows and MacOS.

Installation

npm i check-realpath-webpack-plugin -D

Usage

webpack.config.js

const CheckRealPathPlugin = require('check-realpath-webpack-plugin')
// ...

module.exports = {
  // ...
  plugins: [
    new CheckRealPathPlugin(),
    // ...
  ],
}

Notice

  1. Used with html-webpack-plugin

    // ...
    module.exports = {
      // ...
      module: {
        rules: [
          // ...
          {
            test: /\.html$/i,
            loader: require.resolve('html-webpack-plugin/lib/loader'),
            options: {
              force: true,
            }
          }
        ]
      }
    }
    

License

MIT