{"_id":"uglify-es-loader","_rev":"6-828b10b665a18d8ed5011601a6b61d48","name":"uglify-es-loader","dist-tags":{"latest":"3.0.4"},"versions":{"3.0.0":{"name":"uglify-es-loader","version":"3.0.0","description":"Uglify.js loader for webpack(fork from uglify-es-loader, using uglify-es@3)","main":"index.js","repository":{"type":"git","url":"git+https://github.com/zhang2333/uglify-loader.git"},"keywords":["webpack","loader","uglify"],"license":"MIT","author":{"name":"LouisZhang","email":"spade9k@gmail.com"},"dependencies":{"loader-utils":"^1.0.2","source-map":"^0.5.6"},"peerDependencies":{"uglify-es":"^3.3.9"},"gitHead":"174495a6226d3ed43bfb5d090a43b55b33bdbded","bugs":{"url":"https://github.com/zhang2333/uglify-loader/issues"},"homepage":"https://github.com/zhang2333/uglify-loader#readme","_id":"uglify-es-loader@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"louiszhang","email":"spade9k@gmail.com"},"dist":{"integrity":"sha512-AcXAW6ePv/H2B4GamScoHJJy9xPy5zRhx/5ZzWBxpYe4ap2y7A09FxZLyldzV/XGKa8H8aMNFQVsE27lCF7Yuw==","shasum":"c3fdd117035aebe87bb6595e97739ea31f604d7e","tarball":"https://registry.npmjs.org/uglify-es-loader/-/uglify-es-loader-3.0.0.tgz","fileCount":4,"unpackedSize":5644,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqGvvIKEMVbzYF1L8w0h446POe2ozveQF9VxNuhVCN9AiBKbvgODHbqrP3Ym9dTEO9Mh1DI5m04zFbuNM76Bn1kyw=="}]},"maintainers":[{"name":"louiszhang","email":"spade9k@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uglify-es-loader_3.0.0_1519885225237_0.5629371410640118"},"_hasShrinkwrap":false},"3.0.1":{"name":"uglify-es-loader","version":"3.0.1","description":"Uglify.js loader for webpack(fork from uglify-loader, using uglify-es@3)","main":"index.js","repository":{"type":"git","url":"git+https://github.com/zhang2333/uglify-loader.git"},"keywords":["webpack","loader","uglify"],"license":"MIT","author":{"name":"LouisZhang","email":"spade9k@gmail.com"},"dependencies":{"loader-utils":"^1.0.2","source-map":"^0.5.6"},"peerDependencies":{"uglify-es":"^3.3.9"},"gitHead":"174495a6226d3ed43bfb5d090a43b55b33bdbded","bugs":{"url":"https://github.com/zhang2333/uglify-loader/issues"},"homepage":"https://github.com/zhang2333/uglify-loader#readme","_id":"uglify-es-loader@3.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"louiszhang","email":"spade9k@gmail.com"},"dist":{"integrity":"sha512-dVeL8gzja07CwYi4FssmIM2L0NtjBFlaJFxLB9hXNoHWLPCb9/K6RJBgr2O/fOepzqbg9vj6u9kggTHFX2JwQw==","shasum":"699ec72c98ec43244581cf18d6d0410d96fb9561","tarball":"https://registry.npmjs.org/uglify-es-loader/-/uglify-es-loader-3.0.1.tgz","fileCount":4,"unpackedSize":5638,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAhY5un3mqxIH9BFJwhRDPuLUtTWiptf2mIeR1B7ydPGAiBFsOTtujeij/tujU6NGIl9h2q1XI0UwRRzaTDXQ8BelA=="}]},"maintainers":[{"name":"louiszhang","email":"spade9k@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uglify-es-loader_3.0.1_1519885278035_0.10265983458952532"},"_hasShrinkwrap":false},"3.0.2":{"name":"uglify-es-loader","version":"3.0.2","description":"Uglify.js loader for webpack(fork from uglify-loader, using uglify-es@3)","main":"index.js","repository":{"type":"git","url":"git+https://github.com/zhang2333/uglify-loader.git"},"keywords":["webpack","loader","uglify"],"license":"MIT","author":{"name":"LouisZhang","email":"spade9k@gmail.com"},"dependencies":{"loader-utils":"^1.0.2","source-map":"^0.5.6","uglify-es":"^3.3.9"},"gitHead":"174495a6226d3ed43bfb5d090a43b55b33bdbded","bugs":{"url":"https://github.com/zhang2333/uglify-loader/issues"},"homepage":"https://github.com/zhang2333/uglify-loader#readme","_id":"uglify-es-loader@3.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"louiszhang","email":"spade9k@gmail.com"},"dist":{"integrity":"sha512-3fMtZpy5SCluJW4WMg26WcZihJ4Ny5h/OwWaldaZIthGF+eFL+f1Olw42iJDbqOz3Grga1UzHF2fBipBgXwKWw==","shasum":"43007159c75ac92c9bcc06fc38e837c476f3b4bf","tarball":"https://registry.npmjs.org/uglify-es-loader/-/uglify-es-loader-3.0.2.tgz","fileCount":4,"unpackedSize":5610,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBylZkCT2Mm+BLwg44bGHdhntdcCmD/mVxSf26wbAFAgIhAJ6bsSXsfhUi8dJmfxbFIQ2EsR+KYyFym4Byiv+T98ZN"}]},"maintainers":[{"name":"louiszhang","email":"spade9k@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uglify-es-loader_3.0.2_1519885593458_0.5841038522170272"},"_hasShrinkwrap":false},"3.0.3":{"name":"uglify-es-loader","version":"3.0.3","description":"Uglify.js loader for webpack(fork from uglify-loader, using uglify-es@3)","main":"index.js","repository":{"type":"git","url":"git+https://github.com/zhang2333/uglify-es-loader.git"},"keywords":["webpack","loader","uglify"],"license":"MIT","author":{"name":"LouisZhang","email":"spade9k@gmail.com"},"dependencies":{"loader-utils":"^1.0.2","source-map":"^0.5.6","uglify-es":"^3.3.9"},"gitHead":"174495a6226d3ed43bfb5d090a43b55b33bdbded","bugs":{"url":"https://github.com/zhang2333/uglify-es-loader/issues"},"homepage":"https://github.com/zhang2333/uglify-es-loader#readme","_id":"uglify-es-loader@3.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"louiszhang","email":"spade9k@gmail.com"},"dist":{"integrity":"sha512-I0iWtO3s8y3q8fse7wgnKwst744sLptRRsT1sRkUcpRmLbHjW7MhQw1sn/LI2Fga6x+4KJLVHMBv2dnIViXKOA==","shasum":"0d93d29794518fcbbaa898c274929e1ca0599d67","tarball":"https://registry.npmjs.org/uglify-es-loader/-/uglify-es-loader-3.0.3.tgz","fileCount":4,"unpackedSize":5613,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhxGoAK2DHnZqLYHsvf0tBBJS5gB9UoY044f87d370WAIgCfs0x+SIPDz9BPJe7MZxFRGdLpJTO5ixRhI8jYXZBP8="}]},"maintainers":[{"name":"louiszhang","email":"spade9k@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uglify-es-loader_3.0.3_1519886217031_0.8498295541582952"},"_hasShrinkwrap":false},"3.0.4":{"name":"uglify-es-loader","version":"3.0.4","description":"Uglify.js loader for webpack(fork from uglify-loader, using terser@3)","main":"index.js","repository":{"type":"git","url":"git+https://github.com/zhang2333/uglify-es-loader.git"},"keywords":["webpack","loader","uglify"],"license":"MIT","author":{"name":"LouisZhang","email":"spade9k@gmail.com"},"dependencies":{"loader-utils":"^1.0.2","source-map":"^0.5.6","terser":"^3.10.11"},"gitHead":"50e10e77ccff44fda75046a1e18e00fd2d58282f","bugs":{"url":"https://github.com/zhang2333/uglify-es-loader/issues"},"homepage":"https://github.com/zhang2333/uglify-es-loader#readme","_id":"uglify-es-loader@3.0.4","_npmVersion":"6.2.0","_nodeVersion":"10.1.0","_npmUser":{"name":"louiszhang","email":"spade9k@gmail.com"},"dist":{"integrity":"sha512-V3aRzKssTgABfAyVkOhzwH93isiAMGTPq8HaxSLae3Ao4SY7qRK22PtX3QilrnNY+4BNmGTPErrY8VeuXpG54g==","shasum":"baa9a622463fedd78cc43acf55aef99074e3601a","tarball":"https://registry.npmjs.org/uglify-es-loader/-/uglify-es-loader-3.0.4.tgz","fileCount":4,"unpackedSize":5669,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8mobCRA9TVsSAnZWagAAC+YP/268ntAu5d37bVyvGYIT\n6sDo+HscFzeWm1iTJBgRGUPex641yqWB2RQao6ac32v5ofKlTiAoinimvNVy\nr2azI0yhxPqSsicYRGu700a+rXmo25KelOxl2tODRVpI2PaE13hHWaCge3G3\njBb8DZYwc/atW+SjTfEWIS+1UPenfazChU3WvRgYySIlrUw+c1u7f9+Apu0o\nZQMPfpcoLBQfFoTFlNHWHSASFQMDoAQfd6fA1losFXntiEETTaMuBcmPRfok\n1k4RSSphjjTzci/wAqSmE9UwdxvUOkAgeNZ+s1YZX8sIbex0zpzd89O+oVvK\nDaIBkNUFTeH+u/7MFkh1V4mcqbOgK8AC6G3MyMRHkBmnkfBkwCdeu66bgta1\n6Vybni6w15AW91wpQqZDvqGYL1O+WOZtcaDWST9l2XHkLIAl6lE+8aWZG+Ua\no8cA6ayCIZ840v9SbY5sQO8Fl3xfCPeTQYjHu9FFAw7lzZV+MnwybVilpFML\ndvNCwFQBR3WdMdJxFfdYdmNSFmaI7V0NiGtVhjxlJ6WsUMA7jtxbRZqmY+52\nzJBK8EkWqv5/U5PTBWyGB59u8JAzsDF5dc2BC7X9rXUGeDuSX2M3oDVvYMXz\nJkw6YyFTjw1v9/H47nqbbzov9ycBBGu/GPbLF3u5Q08pAOUTawIOx4itqUBE\ndlmL\r\n=Ujg8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBfRjTXrk812cZhCJSoXnms5UtfbiNCLBw3jGLUATFD5AiEAqFWU1wZXR5Xui6cbbo4lWRRboMuUfuBjP2HpTmUm6Zs="}]},"maintainers":[{"name":"louiszhang","email":"spade9k@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uglify-es-loader_3.0.4_1542613531244_0.2984774631279197"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-01T06:20:25.237Z","3.0.0":"2018-03-01T06:20:25.291Z","modified":"2022-05-22T15:42:10.278Z","3.0.1":"2018-03-01T06:21:18.087Z","3.0.2":"2018-03-01T06:26:33.867Z","3.0.3":"2018-03-01T06:36:57.087Z","3.0.4":"2018-11-19T07:45:31.442Z"},"maintainers":[{"name":"louiszhang","email":"spade9k@gmail.com"}],"description":"Uglify.js loader for webpack(fork from uglify-loader, using terser@3)","homepage":"https://github.com/zhang2333/uglify-es-loader#readme","keywords":["webpack","loader","uglify"],"repository":{"type":"git","url":"git+https://github.com/zhang2333/uglify-es-loader.git"},"author":{"name":"LouisZhang","email":"spade9k@gmail.com"},"bugs":{"url":"https://github.com/zhang2333/uglify-es-loader/issues"},"license":"MIT","readme":"# uglify-es-loader\nUglify loader for webpack(fork from uglify-loader, using terser@3)\n\n## To install\n---\n\n```shell\nnpm i -D uglify-es-loader\n```\n\n## Use Case\n---\nWebpack has UglifyJSPlugin that uglifies the output after bundling.\nIn the applications that depend on thirdparty libraries you may want to uglify with mangling only your application code but not the code that you don't control.\n\n## Example\n---\n**Webpack 1**\n```js\nmodule: {\n    loaders: [\n        {\n            // I want to uglify with mangling only app files, not thirdparty libs\n            test: /.*\\/app\\/.*\\.js$/,\n            exclude: /.spec.js/, // excluding .spec files\n            loader: \"uglify\"\n        }\n    ]\n}\n```\n\nYou can pass UglifyJS parameters via 'uglify-es-loader' property of webpack config.\n\n```js\nmodule: {\n    loaders: [\n        {\n            // I want to uglify with mangling only app files, not thirdparty libs\n            test: /.*\\/app\\/.*\\.js$/,\n            exclude: /.spec.js/, // excluding .spec files\n            loader: \"uglify\"\n        }\n    ]\n},\n'uglify-es-loader': {\n    mangle: false\n}\n```\n\n**Webpack 2**\n```js\nmodule: {\n    rules: [\n        {\n            // I want to uglify with mangling only app files, not thirdparty libs\n            test: /.*\\/app\\/.*\\.js$/,\n            exclude: /.spec.js/, // excluding .spec files\n            use: 'uglify-es-loader'\n        }\n    ]\n}\n```\n\nYou can pass UglifyJS parameters via loader options.\n\n```js\nmodule: {\n    rules: [\n        {\n            // I want to uglify with mangling only app files, not thirdparty libs\n            test: /.*\\/app\\/.*\\.js$/,\n            exclude: /.spec.js/, // excluding .spec files\n            use: {\n                loader: 'uglify-es-loader',\n                options: {\n                    mangle: false\n                }\n            }\n        }\n    ]\n}\n```\n\nEnable sourceMap\n```js\n{\n    loader: 'uglify-es-loader',\n    options: {\n        enableSourceMap: true\n    }\n}\n```\n\n## Update\n\n- `3.0.4`\n\n  Replaced uglify-es with terser.\n","readmeFilename":"README.md"}