Skip to content

Commit

Permalink
remove webpack-modernizr-plugin from fast-animation (microsoft#5520)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump markdown-it from 8.4.2 to 12.3.2

Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 8.4.2 to 12.3.2.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](markdown-it/markdown-it@8.4.2...12.3.2)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert "chore(deps-dev): bump markdown-it from 8.4.2 to 12.3.2"

This reverts commit 4515f51.

* chore(deps-dev): bump markdown-it from 8.4.2 to 12.3.2

* remove webpack-modernizr-plugin from fast-animation

* update lockfile

* Change files

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Kreitlow <john.kreitlow@microsoft.com>
Co-authored-by: Aaron Wentzel <16669785+awentzel@users.noreply.github.com>
Co-authored-by: Chris Holt <chhol@microsoft.com>
  • Loading branch information
4 people authored Jan 27, 2022
1 parent 690b621 commit 34b6145
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 407 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "remove webpack-modernizr-plugin from fast-animation",
"packageName": "@microsoft/fast-animation",
"email": "john.kreitlow@microsoft.com",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"jest": "^25.4.0",
"lerna": "^3.20.2",
"lint-staged": "^10.1.2",
"markdown-it": "^8.4.1",
"markdown-it": "^12.3.2",
"prettier": "2.0.2",
"rimraf": "^3.0.2",
"ts-jest": "^25.4.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<!DOCTYPE html>
<html class="no-js">
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Animation system test page</title>
<link rel="stylesheet" href="/fw_package.css" />
<script src="/modernizr-bundle.js" charset="utf-8" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.1/web-animations-next.min.js"></script>
</head>
<body>
Expand Down
1 change: 0 additions & 1 deletion packages/utilities/fast-animation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
"html-webpack-plugin": "^3.2.0",
"jest": "^25.4.0",
"mini-css-extract-plugin": "^1.6.1",
"modernizr-webpack-plugin": "^1.0.5",
"postcss": "^8.3.5",
"postcss-loader": "^4.2.0",
"prettier": "2.0.2",
Expand Down
6 changes: 0 additions & 6 deletions packages/utilities/fast-animation/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@ const path = require("path");
const BundleAnalyzerPlugin = require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
const MiniCSSExtractPlugin = require("mini-css-extract-plugin");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const ModernizrWebpackPlugin = require("modernizr-webpack-plugin");

const appDir = path.resolve("./client/examples/app");
const outDir = path.resolve("./www");

const modernizrConfig = {
options: ["setClasses"],
};

module.exports = (env, args) => {
const isProduction = args.mode === "production";

Expand Down Expand Up @@ -72,7 +67,6 @@ module.exports = (env, args) => {
title: "Animation system examples",
template: path.resolve(appDir, "index.html"),
}),
new ModernizrWebpackPlugin(modernizrConfig),
new MiniCSSExtractPlugin({
filename: "fast-animation-package.css",
}),
Expand Down
Loading

0 comments on commit 34b6145

Please sign in to comment.