1.0.3 • Published 8 years ago

assettube v1.0.3

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

AssetTube

Install assettube npm package:

npm install assettube

In your webpack config file:

var path = require('path');
var webpack = require('webpack');
var AssetTube = require('../index');

var config = {
	entry: { app: './index.js'},
	output: {
		path: path.join(__dirname, './output'),
		filename: '[name].[chunkhash].js',
		publicPath: './public'
	},
	plugins: [
		new AssetTube({
			// configurations
			// hostname: '',
			// urlPrefix: '',
			// basePath: '',
			// fileName: 'assettube.json',
			// stripSrc: null,
			// transformExtensions: /^(gz|map)$/i,
			// cache: null
		})
	]
};

module.exports = config;

Go server:

m, err := NewManagerManifest("path/to/assettube.json")
if err != nil {
	t.Fatal(err)
}

// the reset same as runtime mode
1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago