Skip to content
PluginStats

@stylable/webpack-extensions weekly downloads statistics

By stylable · npm · Webpack plugins

Experimental Stylable webpack plugins

View on npm Fresh · Dec 6, 2026

@stylable/webpack-extensions has 751 recorded weekly downloads on npm, an increase of 1173% over the past 30 days, ranking #2163 of 3,247 tracked listings.

Weekly downloads
751
Official API · Dec 5, 2026
7-day growth
+182%
+485 weekly downloads
30-day growth
+1173%
+692 weekly downloads
90-day growth
+2490%
+722 weekly downloads
Rank
#2163
▲ 148 in 7 days

About @stylable/webpack-extensions

@stylable/webpack-extension

npm version

@stylable/webpack-extensions contains experimental Stylable webpack plugins for various use cases.

Installation

yarn add --dev @stylable/webpack-extensions

remove-unused-css-modules

Remove all css modules that are not being used by any javascript file.

stylable-metadata-plugin

Generate component metadata for tooling.

stylable-forcestates-plugin

Generate css that allow to force css state on dom node.

stylable-metadata-loader

Use this loader to generates a mapping of imported stylesheets that contains imported .st.css files (dependencies) mapped by a hash of their content. It also remaps any imports within the content to use the files content hash as the imported filepath.

This structure is used to create an in-memory file system representation for Stylable to transpile overrides apart from the main build process.

Loader options
interface LoaderOptions {
  exposeNamespaceMapping: boolean;
  resolveNamespace(namespace: string, filePath: string): string;
}
Notes
  1. JS imports are currently not supported (mixins and formatters)
  2. Namespaces can be different if not taken into account during the in memory transpilation (for path based namespace resolvers)

Use exposeNamespaceMapping to expose original namespaces from the metadata build

Example output
{
    entry: "<entry_hash>",
    stylesheetMapping: {
        "/<entry_hash>.st.css": ":import { -st-from: '/<imported_hash>.st.css' } <rest_of_entry_content>",
        "/<imported_hash>.st.css": "<imported_content>"
    },
    namespaceMapping: {
        "/<entry_hash>.st.css": "<entry_namespace>",
        "/<imported_hash>.st.css": "<imported_namespace>"
    }
}
Usage in webpack

The config below shows an inline loader alias configuration, any other webpack config (using module.rules) can also be used.

// webpack.config.js
import { metadataLoaderLocation } from "@stylable/webpack-extensions"

const webpackConfig = {
    ...
    resolveLoader: {
        alias: { 'stylable-metadata': metadataLoaderLocation },
    }
    ...
}
Metadata consumption usage

To use this loader, import the stylesheet using the previously configured loader.

import metadata from "stylable-metadata!./path-to-stylesheet.st.css";

Note: when using an inline loader configuration it is possible to configure the loader via the stylable.config.js configuration file

// stylable.config.js
module.exports.metadataLoader = {
    exposeNamespaceMapping: true    
}
Typescript types

The definition for typings for this loader depends on the loader configuration used, but you can declare modules with one of the following loader interfaces:

// globals.d.ts

// when exposing namespaceMapping
declare module 'stylable-metadata?exposeNamespaceMapping=true!*.st.css' {
    const stylesheetMetadata: {
        entry: string;
        stylesheetMapping: Record<string, string>;
        namespaceMapping: Record<string, string>;
    };
    export = stylesheetMetadata;
}

// when not exposing namespaceMapping
declare module 'stylable-metadata!*.st.css' {
    const stylesheetMetadata: {
        entry: string;
        stylesheetMapping: Record<string, string>;
    };
    export = stylesheetMetadata;
}

Contributing

Read our contributing guidelines for details on our code of conduct, and the process for submitting pull requests.

License

Copyright (c) 2017 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by an MIT license.

Description from the npm listing.

  • css
  • stylable
  • webpack
  • webpack-plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@stylable/webpack-extensions weekly downloads on npm, last 90 days: 751 weekly downloads as of Dec 5, 2026, +2490% over 90 days.@stylable/webpack-extensionsWeekly downloads on npm · Last 90 days751downloads / week+2490% over 90 days0200400600800Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@stylable/webpack-extensions weekly downloads on npm, last 90 days: 751 weekly downloads as of Dec 5, 2026, +2490% over 90 days.

7/30/90-day growth

@stylable/webpack-extensions weekly downloads growth on npm: +182% over 7 days, +1173% over 30 days, +2490% over 90 days.@stylable/webpack-extensionsWeekly downloads growth on npm751downloads / week now7-day growth+485 weekly downloads+182%30-day growth+692 weekly downloads+1173%90-day growth+722 weekly downloads+2490%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@stylable/webpack-extensions weekly downloads growth on npm: +182% over 7 days, +1173% over 30 days, +2490% over 90 days.

Ranking history

@stylable/webpack-extensions npm ranking history: currently #2163 (by weekly downloads).@stylable/webpack-extensionsnpm ranking · by weekly downloads · Last 90 days#2163current rank#1600#1800#2000#2200#2400#2600#2800Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@stylable/webpack-extensions npm ranking history: currently #2163 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 109, #3 (overall #2,163)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 5, #7 (overall #87)
Webpack plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for @stylable/webpack-extensions
Date (UTC)Weekly downloadsChange vs. previous
7510
751-2
753+490
263+7
256-1
257+233
24-242
266+1
265+3
262+1
261-3
264-202
466+8
458—

Similar npm Webpack plugins plugins

All 20 @stylable/webpack-extensions alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@stylable/webpack-extensions. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.