Skip to content

Commit 1ad9a28

Browse files
committed
Flatten file hierarchy
1 parent d0c05d8 commit 1ad9a28

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/css-loader-core/loader.js renamed to src/FileSystemLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import postcss from "postcss";
44
import fs from "fs";
55
import path from "path";
66

7-
import Parser from "./parser";
7+
import Parser from "./Parser";
88

99
class Core {
1010
constructor(plugins) {
File renamed without changes.

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import camelCase from "lodash.camelcase";
33
import genericNames from "generic-names";
44
import unquote from "./unquote";
55

6-
import Parser from "./css-loader-core/parser";
7-
import FileSystemLoader from "./css-loader-core/loader";
6+
import Parser from "./Parser";
7+
import FileSystemLoader from "./FileSystemLoader";
88

99
import generateScopedName from "./generateScopedName";
1010
import saveJSON from "./saveJSON";

src/unquote/index.js renamed to src/unquote.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// copied from https://github.com/lakenen/node-unquote
22

3-
var reg = /['"]/;
3+
const reg = /['"]/;
44

55
export default function unquote(str) {
66
if (!str) {

0 commit comments

Comments
 (0)