So far, we have been lucky that our JavaScript libraries have worked perfectly under Locker Service. There are libraries that may not work under Locker Service due to their use of unsupported elements. All the window, Document, and DOM APIs that are supported by locker are listed at http://documentation.auraframework.Org/lockerApiTest/index.app?aura.mode=DEV.
Webpack is a module bundler that allows us to transform the source code and bundle it. We can use the power of webpack to create a static resource ...