Simplify import path in examples
To have the same path (starting with `ol/`, without `.js`) as in the documentation. The support was added in the webpack config in #8928
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import WMSCapabilities from '../src/ol/format/WMSCapabilities.js';
|
||||
import WMSCapabilities from 'ol/format/WMSCapabilities';
|
||||
|
||||
const parser = new WMSCapabilities();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user