Skip to content

Instantly share code, notes, and snippets.

lavezzi1

Block or report user

Report or block lavezzi1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View webpack.config.js
var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var glob = require('glob');
var postcssModules = require('./configs/postcssModules.js');
var entries = getEntries('./source/pages/', 'js'); // Obtain entry js file
View pack.config.js
var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var glob = require('glob');
var postcssModules = require('./configs/postcssModules.js');
var entries = getEntries('./source/pages/', 'js'); // Obtain entry js file
View webpack.config.js
var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var glob = require('glob');
var postcssModules = require('./configs/postcssModules.js');
var entries = getEntries('./source/pages/', 'js'); // Obtain entry js file
View gist:0bd43ef6914409cd5883bd5c2680637a
Hash: f4fac931febd6b2bd1fa
Version: webpack 1.13.2
Time: 142023ms
Asset Size Chunks Chunk Names
js/common.js 738 kB 0 [emitted] common
js/dashboard/api/apps/index.js 1.23 MB 2 [emitted] dashboard/api/apps/index
js/dashboard/profile/security/security.js 1.22 MB 3 [emitted] dashboard/profile/security/security
js/dashboard/profile/billing/billing.js 1.21 MB 4 [emitted] dashboard/profile/billing/billing
js/dashboard/network/domains/domains.js 1.19 MB 8 [emitted] dashboard/network/domains/domains
js/dashboard/logs/logs.js 1.14 MB 11 [emitted] dashboard/logs/logs
View gist:8e72af7caf923e45e188e12efb6aeb82
{
"name": "project",
"version": "1.0.0",
"description": "description",
"scripts": {
"dev": "webpack-dev-server --inline --hot --progress",
"build": "rm -rf ./public/* && set NODE_ENV=production&&webpack -p"
},
"author": "me",
"devDependencies": {
View gist:3b599b8e2adec9561e4bf1f3dffb5505
var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var glob = require('glob');
var entries = getEntries('./source/pages/', 'js'); // Obtain entry js file
var chunks = Object.keys(entries);
View webpack.config.js
var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var glob = require('glob');
var entries = getEntries('./source/pages/', 'js');
var chunks = Object.keys(entries);
View config.js
var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var glob = require('glob');
// var alias = require('./configs/alias.js');
var postcssModules = require('./configs/postcssModules.js');
View webpack.config.js
var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var glob = require('glob');
var alias = require('./configs/alias.js');
var postcssModules = require('./configs/postcssModules.js');
View new webpack.config.js
var webpack = require("webpack");
var path = require('path');
var fs = require('fs');
var HtmlwebpackPlugin = require('html-webpack-plugin');
var CopyWebpackPlugin = require('copy-webpack-plugin');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var containerPath = path.resolve('./');
You can’t perform that action at this time.