0.0.6 • Published 4 months ago

webpack-encryption-js-part v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

:cd: Installation

npm install --save-dev webpack-encryption-js-part

Requirements

  • Node.js v12.22.x, v14.17.x, v16.x and above

:book: Usage

// .vue.config.js
module.exports = {
    configureWebpack:{
    plugins: [
       new webpackEncryption({
        encryption: function base64Encode(str) {
          const buffer = Buffer.from(str, "utf-8");
          return buffer.toString("base64");
        },
        decryption: function (e) {
          return atob(e);
        },
        filename: "/base.",
        injection: "/vue.",
        // regular,
      }),
    ],}
    
}

:lock: License

See the LICENSE file for license rights and limitations (MIT).

0.0.6

4 months ago

0.0.5

6 months ago

0.0.4

6 months ago

0.0.3

8 months ago

0.0.2

9 months ago

0.0.1

11 months ago