From 3fd93f47bc2367bc7862ea2689751b5ffaaee3df Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 29 Mar 2022 23:11:15 +0000 Subject: [PATCH] Remove html-loader (#4991) * Bump html-loader from 0.5.5 to 3.1.0 Bumps [html-loader](https://github.com/webpack-contrib/html-loader) from 0.5.5 to 3.1.0. - [Release notes](https://github.com/webpack-contrib/html-loader/releases) - [Changelog](https://github.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/html-loader/compare/v0.5.5...v3.1.0) --- updated-dependencies: - dependency-name: html-loader dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * fix asset loading and make clean idempotent Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Scott Bell Co-authored-by: John Hill --- package.json | 3 +-- webpack.common.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 81ac6c284b..1125a4a42c 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,6 @@ "file-loader": "6.2.0", "file-saver": "2.0.5", "git-rev-sync": "3.0.2", - "html-loader": "0.5.5", "html2canvas": "1.4.1", "imports-loader": "0.8.0", "jasmine-core": "4.0.1", @@ -82,7 +81,7 @@ "zepto": "1.2.0" }, "scripts": { - "clean": "rm -rf ./dist ./node_modules; rm package-lock.json", + "clean": "rm -rf ./dist ./node_modules ./package-lock.json", "clean-test-lint": "npm run clean; npm install; npm run test; npm run lint", "start": "node app.js", "lint": "eslint example src --ext .js,.vue openmct.js", diff --git a/webpack.common.js b/webpack.common.js index 9eb980b112..bb175e0012 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -99,7 +99,7 @@ const config = { }, { test: /\.html$/, - use: 'html-loader' + type: 'asset/source' }, { test: /zepto/,