diff --git a/src/config.js b/src/config.js index cbcc37e8..e5797bb2 100644 --- a/src/config.js +++ b/src/config.js @@ -99,7 +99,6 @@ function getOptions(options = {}) { // Set inline options value.inline = Boolean(inline) && { - minify: value.minify, basePath: value.base || process.cwd(), ...(inline === true ? {strategy: 'media'} : inline), }; diff --git a/test/config.test.js b/test/config.test.js index 0efe1128..270d2b44 100644 --- a/test/config.test.js +++ b/test/config.test.js @@ -57,6 +57,7 @@ test('Target config on passed string', () => { test('Inline config on passed boolean', () => { expect(getOptions({src: '...', inline: true, base: 'BASE'})).toHaveProperty('inline', { basePath: 'BASE', + strategy: 'media', }); });