-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cédric Delpoux
committed
Jul 8, 2015
1 parent
0dd6b8c
commit e26f7fd
Showing
4 changed files
with
60 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Changelog | ||
|
||
## 1.0.4 - 2015-07-08 | ||
|
||
* Added: webpack build | ||
|
||
## 1.0.3 - 2015-07-03 | ||
|
||
* Added: fixed tooltip example | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
var webpack = require('webpack') | ||
var path = require('path') | ||
|
||
var sources = [ | ||
path.resolve(__dirname, 'src'), | ||
] | ||
|
||
module.exports = { | ||
entry: './src/index.js', | ||
output: { | ||
path: __dirname, | ||
filename: './lib/index.js', | ||
}, | ||
resolve: { | ||
extensions: ['', '.js', '.css'] | ||
}, | ||
module: { | ||
preLoaders: [ | ||
{ test: /\.js?$/, include: sources, loader: 'eslint' }, | ||
], | ||
loaders: [ | ||
{ test: /\.js$/, include: sources, loader: 'babel' }, | ||
{ test: /\.css$/, include: sources, loader: 'style!css' }, | ||
], | ||
}, | ||
plugins: [ | ||
new webpack.NoErrorsPlugin(), | ||
new webpack.optimize.OccurenceOrderPlugin(), | ||
new webpack.optimize.DedupePlugin(), | ||
new webpack.optimize.AggressiveMergingPlugin(), | ||
new webpack.optimize.UglifyJsPlugin({ | ||
compress: { | ||
warnings: false, | ||
}, | ||
}), | ||
] | ||
} |