-
Notifications
You must be signed in to change notification settings - Fork 170
Description
on a webpack4'd foundation6 project
yarn list | egrep -i " foundation-sites\@| webpack\@"
├─ foundation-sites@6.4.4-rc1
├─ webpack@4.1.1
Currently, on webpack exec, I get
yarn run webpack:prod
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("shake")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("shake")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("spin")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("spin")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("wiggle")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("wiggle")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("shake")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("shake")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("spin")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("spin")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("wiggle")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("wiggle")) instead.
the function calls are originating from
./motion-ui/dist/motion-ui.min.css
./motion-ui/dist/motion-ui.css
./motion-ui/package.js
./motion-ui/docs/animations.md
./motion-ui/docs/javascript.md
./motion-ui/docs/classes.md
./motion-ui/docs/wow.md
./motion-ui/src/_classes.scss
./motion-ui/src/motion-ui.scss
./motion-ui/src/effects/_wiggle.scss
removing
@import '~motion-ui/motion-ui';
@include motion-ui-transitions;
@include motion-ui-animations;
eliminates all of those^ deprecation notices on webpack exec
The relevant reference appears @
http://sass-lang.com/documentation/file.SASS_CHANGELOG.html#3_5_0__12_July_2017_
Passing a string to call($function-name, $args...) indicating which function to invoke is now deprecated. Instead pass a function reference returned from get-function($function-name). This allows function name resolution to be performed in the correct lexical context and then invoked in a different context. This is required so that the module-based resolver in Sass 4.0 will invoke the correct function when calling across module boundaries. Developers of frameworks that use call should not do the function lookup for callers of their framework; this is likely to result in a situation where the framework cannot resolve the function in 4.0.