haozileung / spm-webpack

SPM project bundler based on webpack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spm-webpack

NPM version Build Status Coverage Status NPM downloads

SPM project bundler based on webpack.


Install

$ npm install spm-webpack -g

Usage

$ spm-webpack [option] [file]

Added

add spm.build.publicPath args pass to webpack's output.publicPath webpack-configuration

{
  "spm": {
    "output": [
      "main.js"
    ],
    "build": {
      "publicPath": "http://xxx.com/assets/"
    }
  }
}

LISENCE

Copyright (c) 2015-2114 chencheng. Licensed under the MIT license.

About

SPM project bundler based on webpack.


Languages

Language:JavaScript 98.5%Language:CSS 0.7%Language:HTML 0.6%Language:Makefile 0.3%