All Projects → kostasmanionis → webpack-async-chunk-names-plugin

kostasmanionis / webpack-async-chunk-names-plugin

Licence: other
No description or website provided.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to webpack-async-chunk-names-plugin

Contributions Importer For Github
This tool helps users to import contributions to GitHub from private git repositories, or from public repositories that are not hosted in GitHub.
Stars: ✭ 147 (+1125%)
Mutual labels:  import
Sketchup Stl
A SketchUp Ruby Extension that adds STL (STereoLithography) file format import and export.
Stars: ✭ 214 (+1683.33%)
Mutual labels:  import
knockout
Knockout aims to extend the basic importing mechanisms in Python3 by allowing more exotic stuff to be added to sys.path.
Stars: ✭ 12 (+0%)
Mutual labels:  import
Eslint Plugin Boundaries
Eslint plugin checking architecture boundaries between elements
Stars: ✭ 157 (+1208.33%)
Mutual labels:  import
Eslint Plugin Import Helpers
ESLint plugin to help enforce a configurable order for import statements
Stars: ✭ 198 (+1550%)
Mutual labels:  import
Portphp
Data import/export framework for PHP
Stars: ✭ 225 (+1775%)
Mutual labels:  import
Webpack Require From
Webpack plugin that allows to configure path or URL for fetching dynamic imports
Stars: ✭ 142 (+1083.33%)
Mutual labels:  import
vim-nayvy
🌑 Enriching python coding in Vim 🐍
Stars: ✭ 66 (+450%)
Mutual labels:  import
Prettier Plugin Sort Imports
A prettier plugin to sort imports in typescript and javascript files by the provided RegEx order.
Stars: ✭ 205 (+1608.33%)
Mutual labels:  import
open2fa
Two-factor authentication app with import/export for iOS and macOS. All codes encrypted with AES 256. FaceID & TouchID support included. Written with love in SwiftUI ❤️
Stars: ✭ 24 (+100%)
Mutual labels:  import
Hitrava
Convert your Huawei Health sport activities and import them in Strava.
Stars: ✭ 156 (+1200%)
Mutual labels:  import
React Echarts Modules
这个例子给你提供在react中使用echarts的最优方案
Stars: ✭ 185 (+1441.67%)
Mutual labels:  import
get-css-data
A micro-library for collecting stylesheet data from link and style nodes
Stars: ✭ 29 (+141.67%)
Mutual labels:  import
Active admin import
📎 active_admin_import is based on activerecord-import gem - the most efficient way to import for ActiveAdmin
Stars: ✭ 155 (+1191.67%)
Mutual labels:  import
buttercup-importer
🎣 3rd-party archive importer for Buttercup
Stars: ✭ 39 (+225%)
Mutual labels:  import
Keycloak Config Cli
Import YAML/JSON-formatted configuration files into Keycloak - Configuration as Code for Keycloak.
Stars: ✭ 147 (+1125%)
Mutual labels:  import
Dataset Serialize
JSON to DataSet and DataSet to JSON converter for Delphi and Lazarus (FPC)
Stars: ✭ 213 (+1675%)
Mutual labels:  import
importtool
General data import tool for IgorPro
Stars: ✭ 19 (+58.33%)
Mutual labels:  import
tradeship
Automatically imports missing JavaScript dependencies and removes unused ones.
Stars: ✭ 42 (+250%)
Mutual labels:  import
migration
TYPO3 Migration Framework for every kind of migration/imports from CLI (e.g. Templavoila to Gridelements, tt_news to news, etc...)
Stars: ✭ 52 (+333.33%)
Mutual labels:  import

webpack-async-chunk-names-plugin

DEPRECATED, YOU PROBABLY DON'T NEED THIS ANYMORE

https://webpack.js.org/api/module-methods/#import-

import(
  /* webpackChunkName: "my-chunk-name" */
  'module'
);

Why?

Webpack 2 no longer let's you name your cunks generated by System.import() or import(). So you would get chunks named 0.js etc. This plugn attempts to guess the chunk name by parsing the requested filename.

If you need a more robust solution, PR are very welcome.

Installation

As a devDependency!

npm i webpack-async-chunk-names-plugin -D
yarn add webpack-async-chunk-names-plugin -D

Usage

const AsyncChunkNames = require('../index');

module.exports = {
    entry: __dirname + '/entry.js',
    output: {
        path: __dirname + '/output',
        filename: 'output.js',
        chunkFilename: '[name].js'
    },
    plugins: [
        new AsyncChunkNames()
    ]
};

Don't forget to set output.chunkFilename!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].