From b134e296f90d8dbd8ef8cf1bc80034e54e745335 Mon Sep 17 00:00:00 2001 From: philippe Date: Tue, 30 May 2023 15:21:40 -0400 Subject: [PATCH] Update style-loader --- {{cookiecutter.project_shortname}}/package.json | 2 +- {{cookiecutter.project_shortname}}/webpack.config.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/{{cookiecutter.project_shortname}}/package.json b/{{cookiecutter.project_shortname}}/package.json index 5b09a86..4474e15 100644 --- a/{{cookiecutter.project_shortname}}/package.json +++ b/{{cookiecutter.project_shortname}}/package.json @@ -47,7 +47,7 @@ "react": "^16.8.6", "react-docgen": "^5.4.3", "react-dom": "^16.8.6", - "style-loader": "^0.23.1", + "style-loader": "^3.3.3", "styled-jsx": "^3.2.1", "webpack": "^5.84.1", "webpack-cli": "^5.1.1", diff --git a/{{cookiecutter.project_shortname}}/webpack.config.js b/{{cookiecutter.project_shortname}}/webpack.config.js index 9389f66..341d285 100644 --- a/{{cookiecutter.project_shortname}}/webpack.config.js +++ b/{{cookiecutter.project_shortname}}/webpack.config.js @@ -74,9 +74,6 @@ module.exports = (env, argv) => { use: [ { loader: 'style-loader', - options: { - insertAt: 'top' - } }, { loader: 'css-loader',