New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

webpack-concatjs-plugin

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-concatjs-plugin

A custom Webpack plugin to concatenate and optionally minify files.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

https://www.npmjs.com/package/webpack-concatjs-plugin https://github.com/cengizilhan/webpack-concatjs-plugin

webpack-concatjs-plugin

webpack-concatjs-plugin is a custom Webpack plugin that concatenates JavaScript files into a single output file.

Installation

Install the plugin via npm:

npm install webpack-concatjs-plugin --save-dev

Usage

In your Webpack configuration file (webpack.config.js), require the plugin and add it to the plugins array:

const  webpack  =  require('webpack');

const  webpackConcatjsPlugin  =  require('webpack-concatjs-plugin');

  

module.exports  = {

// ... other configuration options

plugins: [

new  webpackConcatjsPlugin([

{

src: [

'./Static/src/scripts/js1.js',

'./Static/src/scripts/js2.js',

'./Static/src/scripts/js3.js',

],

dist:  './Static/dist/scripts/concat-app.js', // Destination file

minify:  false, // Minify the concatenated file

}

]),

// other plugins

],

// ... other configuration options

};

Keywords

FAQs

Package last updated on 13 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc