Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Updating bootstrap version (#1520)
Browse files Browse the repository at this point in the history
- Updates newly generated buffalo apps to use bootstrap 4.2.1 and 3.4.0.
- Removes unused `path` import from our webpack file.
  • Loading branch information
paganotoni committed Jan 4, 2019
1 parent acf06fd commit 476b6bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions genny/assets/webpack/templates/package.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"repository": "github.com/gobuffalo/buffalo",
"dependencies": {
{{ if eq .opts.Bootstrap 3 -}}
"bootstrap-sass": "~3.3.7",
"bootstrap-sass": "~3.4.0",
{{ else -}}
"bootstrap": "4.1.3",
"bootstrap": "4.2.1",
"popper.js": "^1.14.4",
{{ end -}}
"font-awesome": "~4.7.0",
Expand All @@ -19,7 +19,7 @@
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"babel-loader": "^8.0.0-beta.6",
"babel-loader": "^8.0.5",

"css-loader": "~1.0.0",
"expose-loader": "~0.7.5",
Expand Down
1 change: 0 additions & 1 deletion genny/assets/webpack/templates/webpack.config.js.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const Webpack = require("webpack");
const Glob = require("glob");
const path = require("path");
const CopyWebpackPlugin = require("copy-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const ManifestPlugin = require("webpack-manifest-plugin");
Expand Down

0 comments on commit 476b6bd

Please sign in to comment.