We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accorind sources, if I haven't options rc-config-loader use default path for search - current directory
rc-config-loader
const configFileName = opts.configFileName || `.${pkgName}rc`;
So I use loader without options and get undefined. Code available here
undefined
git clone https://github.com/ravecat/mendeleev.git --single-branch --branch rc-config-loader-issue
yarn
aTry to use in src/common/Media/responsive/index.js
src/common/Media/responsive/index.js
/* eslint-disable */ import { css } from "styled-components"; const rcfile = require("rc-config-loader"); const responsive = (property, resolution) => { console.log(rcfile('sct')) return css` @media (max-width: ${resolution}px) { ${property}; } `; } export default responsive;
Probably it's webpack settings relative with resolve options, but I use relative path, not absolute
The text was updated successfully, but these errors were encountered:
Updated branch.
And I get config in tests.
PASS src/common/Media/responsive/index.test.js ● Console console.log src/common/Media/responsive/index.js:7 { config: { responsive: [ 1023, 1600 ] }, filePath: '/home/max/project/mendeleev/.sctrc' }
but get undefined in web app, probably it depends from runtime environment
Sorry, something went wrong.
No branches or pull requests
Accorind sources, if I haven't options
rc-config-loader
use default path for search - current directorySo I use loader without options and get
undefined
. Code available heregit clone https://github.com/ravecat/mendeleev.git --single-branch --branch rc-config-loader-issue
yarn
aTry to use in
src/common/Media/responsive/index.js
Probably it's webpack settings relative with resolve options, but I use relative path, not absolute
The text was updated successfully, but these errors were encountered: