包详细信息

@playkit-js/webpack-common

kaltura6.2kMIT1.0.3

Common Webpack configuration for Kaltura player

@playkit-js/webpack-common, kaltura, player, webpack

自述文件

playkit-js-webpack-common

A shared common webpack configuration for kaltura-player-js

Usage

In your project run:

yarn add @playkit-js/webpack-common

In your webpack.config.js file, you can import and use the exported modules from @playkit-js/webpack-common.

For example:

const { insertStylesWithNonce } = require('@playkit-js/webpack-common');

module.exports = () => {
    return {
      module: {
        rules: [
          {
            test: /\.scss$/,
            use: [
              {
                loader: 'style-loader',
                options: {
                  insert: insertStylesWithNonce
                }
              }
            ]
          }
        ]
      }
    }
}

更新日志

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.3 (2025-03-06)