Skip to content

Instantly share code, notes, and snippets.

@ademilter
Created August 7, 2019 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ademilter/79e6584be0ec2d6edc043049ffbb18ea to your computer and use it in GitHub Desktop.
Save ademilter/79e6584be0ec2d6edc043049ffbb18ea to your computer and use it in GitHub Desktop.
webpack olmayan projelerde webstorm için alias path tanımlamak
// webpack.junk.js
const path = require('path')
module.exports = {
resolve: {
alias: {
'#root': path.resolve(__dirname, './'),
'#src': path.resolve(__dirname, './src'),
'#styles': path.resolve(__dirname, './src/styles')
}
}
}
@ademilter
Copy link
Author

Language & Frameworks > Javascript > Webpack
Screen Shot 2019-08-07 at 11 40 40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment