Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

Fix default cssVarLoaderLiquidPath for the slate-cssvar-loader package #506

Merged
merged 1 commit into from
Apr 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/slate-cssvar-loader/slate-cssvar-loader.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const slateConfig = require('@shopify/slate-config');
const {resolveTheme, generate} = require('@shopify/slate-config');

module.exports = slateConfig.generate({
module.exports = generate({
id: 'slateCssVarLoader',
items: [
{
Expand All @@ -11,7 +11,7 @@ module.exports = slateConfig.generate({
},
{
id: 'cssVarLoaderLiquidPath',
default: ['src/snippets/css-variables.liquid'],
default: [resolveTheme('src/snippets/css-variables.liquid')],
description:
'An array of string paths to liquid files that associate css variables to liquid variables',
type: 'array',
Expand Down