Comments (3)
+1, same issue. Thanks to jake for finding the problem.
from imports-loader.
Having the same issue too. Took some time to figure that this is the issue.
from imports-loader.
Use the https://www.npmjs.com/package/strict-loader
module: {
loaders: [
{
test: /./,
loader: 'strict!imports-loader?define=>false',
},
]
}
from imports-loader.
Related Issues (20)
- imports-loader doesn't generate source maps by default HOT 12
- Can't resolve 'window' in 'project/node_modules/jquery/dist' HOT 15
- regex syntax typo HOT 1
- This line `toString` should be `toJSON` HOT 5
- Allow "import" instead of "require" HOT 5
- Allow import for side effects only HOT 3
- imports-loader doesn't work in combination with expose-loader HOT 1
- Require local file for complex shimming ?
- Using the imports-loader in a require statement ignores "externals" configuration HOT 2
- Can this be used to add a require with inline loaders? HOT 1
- Warning of exports not found after Babel 7 upgrade HOT 6
- loader: require.resolve('imports-loader') instead of use 'imports-loader' HOT 1
- Import config object
- Request for Improved Readme HOT 1
- README: add Inline `additionalCode` example HOT 2
- define=>false in 0.8.0 doesn't work in 1.1.0 HOT 3
- Invalid regular expression: invalid group specifier name HOT 4
- 'import' and 'export' may only appear at the top level HOT 2
- when config 'imports-loader?this=>window' throw "options has an unknown property 'this'" HOT 2
- Who to use imports-loader?this=>window HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imports-loader.