3

I am working with this project and am trying to figure out what the exclamation before and after means.

import ICHING from '!json!constants/iching_deoxy.json';
Rich Costello
  • 95
  • 2
  • 11
  • https://stackoverflow.com/questions/31620018/es6-imports-what-does-the-exclamation-mark-mean? – Bergi Feb 17 '18 at 19:48

1 Answers1

3

This is an inline webpack loader indicator where json is the json-loader

It's possible to overwrite any loaders in the configuration by prefixing the entire rule with !

This is not part of the Javascript or Ecmascript specifications

Sagiv b.g
  • 30,379
  • 9
  • 68
  • 99