Skip to content

Commit

Permalink
Update webpack.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Feb 9, 2018
1 parent 8e00d01 commit f8a08a4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
var pkg = require('./package.json');
var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var findImports = require('find-imports');
var stylusLoader = require('stylus-loader');
var nib = require('nib');
var publicname = pkg.name.replace(/^@\w+\//, ''); // Strip out "@trendmicro/" from package name
var banner = [
const pkg = require('./package.json');
const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const findImports = require('find-imports');
const stylusLoader = require('stylus-loader');
const nib = require('nib');
const publicname = pkg.name.replace(/^@\w+\//, ''); // Strip out "@trendmicro/" from package name
const banner = [
publicname + ' v' + pkg.version,
'(c) ' + new Date().getFullYear() + ' Trend Micro Inc.',
pkg.license,
pkg.homepage
].join(' | ');
var localClassPrefix = publicname.replace(/^react-/, ''); // Strip out "react-" from publicname
const localClassPrefix = publicname.replace(/^react-/, ''); // Strip out "react-" from publicname

module.exports = {
devtool: 'source-map',
Expand Down

0 comments on commit f8a08a4

Please sign in to comment.