-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
When I try to include twig component I receive the following error:
Unable to find template file @molecules/inline/inline.twig. TypeError: fs.statSync is not a function
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"webpack": "^4",
"webpack-cli": "^4.7.2",
"@storybook/react": "^6.3.0-rc.11",
web pack config :
use: [
{
loader: 'twig-loader',
options: {
twigOptions: {
allowInlineIncludes: true,
namespaces: {
icons: path.resolve(__dirname, 'images/icons'),
base: path.resolve(__dirname, 'components/00-base'),
atoms: path.resolve(__dirname, 'components/01-atoms'),
molecules: path.resolve(__dirname, 'components/02-molecules'),
organisms: path.resolve(__dirname, 'components/03-organisms'),
templates: path.resolve(__dirname, 'components/04-templates'),
},
},
},
},
],
paulkre, ChrissiQ, karlschwaier and imtheu
Metadata
Metadata
Assignees
Labels
No labels