@ice/webpack-config
TypeScript icon, indicating that this package has built-in type declarations

1.1.15 • Public • Published

@ice/webpack-config

This package providers basic webpack configuration.

Usage

import { getWebpackConfig } from '@ice/webpack-config';
import webpack from 'webpack';

const config = { alias: {} };
const rootDir = process.cwd();
const runtimeTmpDir = '.ice';   // the path of the asset-manifest.json

const webpackConfig = getWebpackConfig({ 
  rootDir, 
  config,
  webpack, 
  runtimeTmpDir,
  target: 'web',
});

Readme

Keywords

none

Package Sidebar

Install

npm i @ice/webpack-config

Homepage

v3.ice.work

Weekly Downloads

120

Version

1.1.15

License

none

Unpacked Size

47.3 kB

Total Files

17

Last publish

Collaborators

  • linbudu
  • answershuto
  • chenjun1011
  • luhengchang228
  • sobear
  • clarkxia
  • rax-publisher