Skip to content
PluginStats

@soda-gql/webpack-plugin weekly downloads statistics

By soda-gql · npm · Webpack plugins

Webpack plugin for soda-gql with HMR support

View on npm Fresh · Dec 6, 2026

@soda-gql/webpack-plugin has 201 recorded weekly downloads on npm, ranking #2495 of 3,247 tracked listings.

Weekly downloads
201
Official API · Dec 5, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#2495
Among tracked npm listings

About @soda-gql/webpack-plugin

@soda-gql/webpack-plugin

Webpack plugin for soda-gql with incremental rebuild and HMR support.

Installation

npm install @soda-gql/webpack-plugin
# or
yarn add @soda-gql/webpack-plugin
# or
bun add @soda-gql/webpack-plugin

Usage

webpack.config.js
const { SodaGqlWebpackPlugin } = require("@soda-gql/webpack-plugin");

module.exports = {
  plugins: [
    new SodaGqlWebpackPlugin({
      // Optional: Path to soda-gql config file
      configPath: "./soda-gql.config.ts",

      // Optional: Enable/disable the plugin (default: true)
      enabled: process.env.NODE_ENV !== "test",

      // Optional: Enable debug logging (default: false)
      debug: process.env.DEBUG === "true",
    }),
  ],

  module: {
    rules: [
      {
        test: /\.tsx?$/,
        exclude: /node_modules/,
        use: [
          // Your existing loaders (ts-loader, babel-loader, etc.)
          "ts-loader",

          // Add soda-gql loader
          {
            loader: "@soda-gql/webpack-plugin/loader",
            options: {
              // Same options as plugin
              configPath: "./soda-gql.config.ts",
            },
          },
        ],
      },
    ],
  },
};
With webpack-dev-server

The plugin automatically handles HMR (Hot Module Replacement) for soda-gql files. When a model file changes, all dependent slices and operations are automatically rebuilt.

// webpack.config.js
module.exports = {
  devServer: {
    hot: true,
  },
  plugins: [
    new SodaGqlWebpackPlugin({
      debug: true, // Enable to see rebuild logs
    }),
  ],
  // ... rest of config
};

How It Works

  1. Plugin Initialization: On beforeRun hook, the plugin initializes and builds the initial artifact.

  2. Watch Mode: On watchRun hook, the plugin:

    • Rebuilds the artifact (detects file changes automatically)
    • Computes which files are affected by the changes
    • Shares the updated artifact with the loader
  3. Loader Processing: The loader:

    • Uses the pre-built artifact from the plugin (shared state)
    • Transforms soda-gql code using the Babel plugin
    • Adds file dependencies for proper HMR propagation
  4. Internal Module Stubbing: graphql-system and inject modules (scalars, adapter) are stubbed with export {}; in the final bundle, reducing bundle size.

Options

SodaGqlWebpackPlugin Options
OptionTypeDefaultDescription
configPathstringundefinedPath to soda-gql config file
enabledbooleantrueEnable/disable the plugin
includeRegExp | RegExp[]undefinedFile patterns to include
excludeRegExp | RegExp[]undefinedFile patterns to exclude
debugbooleanfalseEnable verbose logging
Loader Options
OptionTypeDefaultDescription
configPathstringundefinedPath to soda-gql config file
enabledbooleantrueEnable/disable the loader

Dependency Tracking

The plugin tracks dependencies between soda-gql files:

  • Models: Base definitions (no dependencies)
  • Operations: Reference models via model.spread()

When a model file changes:

  1. The model is rebuilt
  2. All operations that use the model are rebuilt

This ensures that changes propagate correctly through the dependency chain.

License

MIT

Description from the npm listing.

  • graphql
  • codegen
  • zero-runtime
  • typescript
  • webpack
  • webpack-plugin
  • hmr

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

@soda-gql/webpack-plugin weekly downloads on npm, last 90 days: 201 weekly downloads as of Dec 5, 2026.@soda-gql/webpack-pluginWeekly downloads on npm · Last 90 days201downloads / week180190200210220230Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekDec 5, 2026 – Dec 5, 2026 · 1 observations · Updated Dec 5, 2026pluginstats.com
@soda-gql/webpack-plugin weekly downloads on npm, last 90 days: 201 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

@soda-gql/webpack-plugin weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.@soda-gql/webpack-pluginWeekly downloads growth on npm201downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@soda-gql/webpack-plugin weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

@soda-gql/webpack-plugin npm ranking history: currently #2495 (by weekly downloads).@soda-gql/webpack-pluginnpm ranking · by weekly downloads · Last 90 days#2495current rank#2493#2494#2495#2496#2497Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankDec 6, 2026 – Dec 6, 2026 · 1 observations · Updated Dec 5, 2026pluginstats.com
@soda-gql/webpack-plugin npm ranking history: currently #2495 (by weekly downloads).

Listing placement

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

Listing placement

Webpack plugins349 listings · 18 pages · page 7, #19 (overall #139)
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 (1)
Recent weekly downloads observations for @soda-gql/webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
201—

Similar npm Webpack plugins plugins

All 20 @soda-gql/webpack-plugin 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/@soda-gql/webpack-plugin. First seen Dec 6, 2026; last successful collection Dec 6, 2026. See the methodology.