react-marquee-slider-vertical
Version:
The marquee slider of your wildest dreams. Only for React.js ⛺
23 lines (19 loc) • 627 B
JavaScript
/**
* Implement Gatsby's Node APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/node-apis/
*/
// You can delete this file if you're not using it
const path = require("path");
exports.onCreateWebpackConfig = ({ actions }) => {
actions.setWebpackConfig({
resolve: {
alias: {
// due to broken linking react hooks
// https://github.com/facebook/react/issues/13991#issuecomment-463486871
react: path.resolve(path.join(__dirname, "./node_modules/react")),
"styled-components": path.resolve(path.join(__dirname, "./node_modules/styled-components")),
},
},
});
};