mirror of https://github.com/webpack/webpack.git
test: update snapshots
This commit is contained in:
parent
15e1e2a18b
commit
dcd2d5191b
|
@ -2240,14 +2240,48 @@ describe("snapshots", () => {
|
||||||
+ "oneOf": Array [
|
+ "oneOf": Array [
|
||||||
+ Object {
|
+ Object {
|
||||||
+ "resolve": Object {
|
+ "resolve": Object {
|
||||||
|
+ "conditionNames": Array [
|
||||||
|
+ "style",
|
||||||
|
+ ],
|
||||||
|
+ "extensions": Array [
|
||||||
|
+ ".css",
|
||||||
|
+ "...",
|
||||||
|
+ ],
|
||||||
+ "fullySpecified": true,
|
+ "fullySpecified": true,
|
||||||
|
+ "mainFields": Array [
|
||||||
|
+ "css",
|
||||||
|
+ "style",
|
||||||
|
+ "main",
|
||||||
|
+ "...",
|
||||||
|
+ ],
|
||||||
|
+ "mainFiles": Array [
|
||||||
|
+ "index",
|
||||||
|
+ "...",
|
||||||
|
+ ],
|
||||||
+ },
|
+ },
|
||||||
+ "test": /\\.module\\.css$/i,
|
+ "test": /\\.module\\.css$/i,
|
||||||
+ "type": "css/module",
|
+ "type": "css/module",
|
||||||
+ },
|
+ },
|
||||||
+ Object {
|
+ Object {
|
||||||
+ "resolve": Object {
|
+ "resolve": Object {
|
||||||
|
+ "conditionNames": Array [
|
||||||
|
+ "style",
|
||||||
|
+ ],
|
||||||
|
+ "extensions": Array [
|
||||||
|
+ ".css",
|
||||||
|
+ "...",
|
||||||
|
+ ],
|
||||||
+ "fullySpecified": true,
|
+ "fullySpecified": true,
|
||||||
|
+ "mainFields": Array [
|
||||||
|
+ "css",
|
||||||
|
+ "style",
|
||||||
|
+ "main",
|
||||||
|
+ "...",
|
||||||
|
+ ],
|
||||||
|
+ "mainFiles": Array [
|
||||||
|
+ "index",
|
||||||
|
+ "...",
|
||||||
|
+ ],
|
||||||
+ "preferRelative": true,
|
+ "preferRelative": true,
|
||||||
+ },
|
+ },
|
||||||
+ "type": "css",
|
+ "type": "css",
|
||||||
|
@ -2258,13 +2292,47 @@ describe("snapshots", () => {
|
||||||
+ Object {
|
+ Object {
|
||||||
+ "mimetype": "text/css+module",
|
+ "mimetype": "text/css+module",
|
||||||
+ "resolve": Object {
|
+ "resolve": Object {
|
||||||
|
+ "conditionNames": Array [
|
||||||
|
+ "style",
|
||||||
|
+ ],
|
||||||
|
+ "extensions": Array [
|
||||||
|
+ ".css",
|
||||||
|
+ "...",
|
||||||
|
+ ],
|
||||||
+ "fullySpecified": true,
|
+ "fullySpecified": true,
|
||||||
|
+ "mainFields": Array [
|
||||||
|
+ "css",
|
||||||
|
+ "style",
|
||||||
|
+ "main",
|
||||||
|
+ "...",
|
||||||
|
+ ],
|
||||||
|
+ "mainFiles": Array [
|
||||||
|
+ "index",
|
||||||
|
+ "...",
|
||||||
|
+ ],
|
||||||
+ },
|
+ },
|
||||||
+ "type": "css/module",
|
+ "type": "css/module",
|
||||||
@@ ... @@
|
@@ ... @@
|
||||||
+ "mimetype": "text/css",
|
+ "mimetype": "text/css",
|
||||||
+ "resolve": Object {
|
+ "resolve": Object {
|
||||||
|
+ "conditionNames": Array [
|
||||||
|
+ "style",
|
||||||
|
+ ],
|
||||||
|
+ "extensions": Array [
|
||||||
|
+ ".css",
|
||||||
|
+ "...",
|
||||||
|
+ ],
|
||||||
+ "fullySpecified": true,
|
+ "fullySpecified": true,
|
||||||
|
+ "mainFields": Array [
|
||||||
|
+ "css",
|
||||||
|
+ "style",
|
||||||
|
+ "main",
|
||||||
|
+ "...",
|
||||||
|
+ ],
|
||||||
|
+ "mainFiles": Array [
|
||||||
|
+ "index",
|
||||||
|
+ "...",
|
||||||
|
+ ],
|
||||||
+ "preferRelative": true,
|
+ "preferRelative": true,
|
||||||
+ },
|
+ },
|
||||||
+ "type": "css",
|
+ "type": "css",
|
||||||
|
|
Loading…
Reference in New Issue