mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 17:44:20 -08:00
* Addresses issue #16 - Add styles via sass and module imports Adds typed scss imports via gatsby-plugin-sass. Makes use of .d.scss file generated by gatsby-plugin-scss-typescript, but avoids importing that directly while they work out issue in gatsby v3. * adding vscode config for easier local debugging
25 lines
611 B
JavaScript
25 lines
611 B
JavaScript
module.exports = {
|
|
/*
|
|
This is to workaround the following error when building locally:
|
|
Warning: React.createElement: type is invalid -- expected a string
|
|
(for built-in components) or a class/function (for composite components) but got: undefined.
|
|
at IndexPage
|
|
We will need to fix this before running `gatsby build`
|
|
*/
|
|
flags: {
|
|
DEV_SSR: false
|
|
},
|
|
siteMetadata: {
|
|
title: "Justice40",
|
|
},
|
|
plugins: [{
|
|
resolve: 'gatsby-plugin-sass',
|
|
options: {
|
|
cssLoaderOptions: {
|
|
modules: {
|
|
exportLocalsConvention: 'camelCaseOnly'
|
|
}
|
|
}
|
|
}
|
|
},],
|
|
};
|