Skip to content
This repository was archived by the owner on Sep 24, 2020. It is now read-only.

Commit 7ba0dcb

Browse files
committed
Implement bootstrap-vue
1 parent 8e507bf commit 7ba0dcb

15 files changed

+5537
-3729
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change log
22

3+
## [v1.3.1] (2018-02-01)
4+
5+
**Features**
6+
7+
* Implement Bootstrap-vue v2
8+
* Code cleanup
9+
* Uplift Typescript to v2.7.1
10+
311
## [v1.3.0] (2018-01-31)
412

513
**Features**
@@ -164,6 +172,7 @@
164172
[#3]: https://github.com/ducksoupdev/vue-webpack-typescript/pull/3
165173
[#2]: https://github.com/ducksoupdev/vue-webpack-typescript/pull/2
166174
[#1]: https://github.com/ducksoupdev/vue-webpack-typescript/pull/1
175+
[v1.3.1]: https://github.com/ducksoupdev/vue-webpack-typescript/compare/v1.3.0...v1.3.1
167176
[v1.3.0]: https://github.com/ducksoupdev/vue-webpack-typescript/compare/v1.2.1...v1.3.0
168177
[v1.2.1]: https://github.com/ducksoupdev/vue-webpack-typescript/compare/v1.2.0...v1.2.1
169178
[v1.2.0]: https://github.com/ducksoupdev/vue-webpack-typescript/compare/v1.1.1...v1.2.0

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# webpack-typescript
22

3-
> A Vue, Webpack, Typescript, Bootstrap setup with hot reload, dynamic imports, unit testing,
4-
code coverage, sass, uncss and bundling/minification.
3+
> A Vue 2.5, Webpack 3.10, Typescript 2.7, Bootstrap 4.0 setup with hot reload, dynamic imports, unit testing,
4+
code coverage, sass and bundling/minification.
55

6-
> This template is for Vue 2.5. See the [changelog](CHANGELOG.md) for updates.
6+
> See the [changelog](CHANGELOG.md) for updates.
77
88
### Usage
99

template/config/webpack.config.prod.js

-12
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
const glob = require('glob')
2-
const path = require('path')
31
const CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin')
42
const UglifyJsPlugin = require('webpack/lib/optimize/UglifyJsPlugin')
53
const HtmlWebpackPlugin = require('html-webpack-plugin')
64
const CompressionPlugin = require('compression-webpack-plugin')
75
const ExtractTextPlugin = require('extract-text-webpack-plugin')
8-
const PurifyCSSPlugin = require('purifycss-webpack')
96
const FaviconsWebpackPlugin = require('favicons-webpack-plugin')
107
const autoprefixer = require('autoprefixer')
118
const webpackConfig = require('./webpack.config.base')
@@ -19,14 +16,6 @@ const extractSass = new ExtractTextPlugin({
1916
disable: process.env.NODE_ENV === 'development'
2017
})
2118

22-
const purifyCss = new PurifyCSSPlugin({
23-
paths: glob.sync(path.join(__dirname, '../src/**/*.html')),
24-
purifyOptions: {
25-
info: true,
26-
whitelist: []
27-
}
28-
})
29-
3019
webpackConfig.module.rules = [...webpackConfig.module.rules,
3120
{
3221
test: /\.scss$/,
@@ -96,7 +85,6 @@ webpackConfig.plugins = [...webpackConfig.plugins,
9685
minChunks: Infinity
9786
}),
9887
extractSass,
99-
purifyCss,
10088
new OptimizeCssAssetsPlugin({
10189
cssProcessor: require('cssnano'),
10290
cssProcessorOptions: {

0 commit comments

Comments
 (0)