Menu icon Foundation

My Posts

No Content

My Comments

Prafull Chandra Sharma commented on Caroline Waddell's post 6 months

Yes Foundation Sites script is not ES5 transpiled, I got that issue too in my project.You have to include Foundation module folder babel-loader.
{ test: /.(js|jsx|mjs)$/, include: [paths.appSrc, paths.foundationSrc], // foundation sites folder path added to babel-loader loader: require.resolve('babel-loader'), options: { compact: true, },},
If you are using create-react-app for you project you have to eject first.

Posts Followed


Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Caroline Waddell's post 6 months

Yes Foundation Sites script is not ES5 transpiled, I got that issue too in my project.You have to include Foundation module folder babel-loader.
{ test: /.(js|jsx|mjs)$/, include: [paths.appSrc, paths.foundationSrc], // foundation sites folder path added to babel-loader loader: require.resolve('babel-loader'), options: { compact: true, },},
If you are using create-react-app for you project you have to eject first.

Posts Followed


Following

  • No Content

Followers

  • No Content