Open bbeirnaert opened 8 years ago
To include respond.js using webpack, it is required to have the scope specified explicitly to window (instead of this), since it is enclosed in an import function where this is not window.
@bbeirnaert You can also use imports-loader :
imports-loader
const respondjs = require('imports-loader?this=>window!Respond.js/dest/respond.min');
To include respond.js using webpack, it is required to have the scope specified explicitly to window (instead of this), since it is enclosed in an import function where this is not window.