- Now uses webpack instead of browserify - Improved validation with ESLint and PropTypes - Moved all scss files to js folder to be at the same place like their corresponding js files - Removed unneeded scss files - Splitted up several React elements, especially the TitleBar - Converted stores to ES6 - Prepared for session token authetification in AuthStore - Completed classes for table objects - Added max values to attribute UI in phase 2 - Added more example chars - Added option to filter all chars by ownership - Added options to home page - Some changes to text on home page - Added first parts for history and undo features - Prepared and changed some things for component-only list handling (filter/sort) - Handling for skill requirements and cost now with top-level RequirementsStore, advatages, disadvantages and special abilities missing - Several small changes and bug fixes
32 lines
597 B
JavaScript
32 lines
597 B
JavaScript
var ExtractTextPlugin = require('extract-text-webpack-plugin');
|
|
|
|
module.exports = {
|
|
entry: {
|
|
main: './js/AppBootstrap.js'
|
|
},
|
|
// devtool: 'source-map',
|
|
output: {
|
|
filename: 'dist/bundle.js'
|
|
},
|
|
module: {
|
|
loaders: [
|
|
{
|
|
test: /\.js$/,
|
|
exclude: /node_modules/,
|
|
loader: 'babel',
|
|
},
|
|
{
|
|
test: /\.scss$/,
|
|
exclude: /node_modules/,
|
|
loader: ExtractTextPlugin.extract('css?-url!sass'),
|
|
}
|
|
]
|
|
},
|
|
sassLoader: {
|
|
outputStyle: 'compressed'
|
|
},
|
|
plugins: [
|
|
new ExtractTextPlugin('dist/bundle.min.css')
|
|
]
|
|
};
|