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

Commit

Permalink
Fix default slate-cssvar-loader path configs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorissette committed Apr 19, 2018
1 parent 232e976 commit a72d3e1
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit a72d3e1

Please sign in to comment.