Aaron Pham
2024-11-01 56ba2f4fa75c0abe45c231533b5d2edd9791a0ec
feat(build): add support for parsing inline sass (#1558)

1 files modified
7 ■■■■ changed files
quartz/cli/handlers.js 7 ●●●● patch | view | raw | blame | history
quartz/cli/handlers.js
@@ -44,7 +44,7 @@
  let linkResolutionStrategy = argv.links?.toLowerCase()
  const sourceDirectory = argv.source
  // If all cmd arguments were provided, check if theyre valid
  // If all cmd arguments were provided, check if they're valid
  if (setupStrategy && linkResolutionStrategy) {
    // If setup isn't, "new", source argument is required
    if (setupStrategy !== "new") {
@@ -236,6 +236,11 @@
        type: "css-text",
        cssImports: true,
      }),
      sassPlugin({
        filter: /\.inline\.scss$/,
        type: "css",
        cssImports: true,
      }),
      {
        name: "inline-script-loader",
        setup(build) {