Skip to content

Commit b0ead91

Browse files
committed
chore(update): set cache names for @ChessCom
1 parent 99a04d3 commit b0ead91

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ Thumbs.db
1717
*.sublime-workspace
1818
.idea
1919
*.iml
20+
.npmrc

src/CssDependency.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class CssDependency extends webpack.Dependency {
4646
if (webpack.util && webpack.util.serialization) {
4747
webpack.util.serialization.register(
4848
CssDependency,
49-
'mini-css-extract-plugin/dist/CssDependency',
49+
'@chesscom/mini-css-extract-plugin/dist/CssDependency',
5050
null,
5151
{
5252
serialize(instance, context) {

src/CssModule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class CssModule extends webpack.Module {
119119
if (webpack.util && webpack.util.serialization) {
120120
webpack.util.serialization.register(
121121
CssModule,
122-
'mini-css-extract-plugin/dist/CssModule',
122+
'@chesscom/mini-css-extract-plugin/dist/CssModule',
123123
null,
124124
{
125125
serialize(instance, context) {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const {
2020
util: { createHash },
2121
} = webpack;
2222

23-
const pluginName = 'mini-css-extract-plugin';
23+
const pluginName = '@chesscom/mini-css-extract-plugin';
2424

2525
const REGEXP_CHUNKHASH = /\[chunkhash(?::(\d+))?\]/i;
2626
const REGEXP_CONTENTHASH = /\[contenthash(?::(\d+))?\]/i;

src/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import CssDependency from './CssDependency';
1313
import { findModuleById, evalModuleCode } from './utils';
1414
import schema from './loader-options.json';
1515

16-
const pluginName = 'mini-css-extract-plugin';
16+
const pluginName = '@chesscom/mini-css-extract-plugin';
1717

1818
function hotLoader(content, context) {
1919
const accept = context.locals

0 commit comments

Comments
 (0)