Closed pixelzoom closed 4 years ago
AreaBuilderSharedConstants.js:
INVALID_VALUE: require( 'string!AREA_BUILDER/invalidValue' )
This require violates PhET conventions and will not be properly handled by ES6 migration tools. You'll need to pull this out into a const statement:
require
const
const invalidValueString = require( 'string!AREA_BUILDER/invalidValue' ); ... INVALID_VALUE: invalidValueString
Priority high, since ES6 migration will be occurring soon.
See https://github.com/phetsims/chipper/issues/849 as the parent/duplicate issue.
AreaBuilderSharedConstants.js:
This
require
violates PhET conventions and will not be properly handled by ES6 migration tools. You'll need to pull this out into aconst
statement:Priority high, since ES6 migration will be occurring soon.