1.0.1 • Published 4 years ago
python-webpack-loader v1.0.1
#Python Loader
python-webpack-loader is a webpack based loader which transpile python files into javascript files.
It let you write python
code in your javascript
project.
Set up
- Install
python-webpack-loader
:npm install --save-dev python-webpack-loader
- Configure python-webpack-loader in webpack: In your webpack config file add following rule inside module > rules:
{ test: /\.py$/, use: [{ loader: 'python-webpack-loader' }] }
Now you are ready to use this plugin
You can see simple example of how to use python-webpack-loader in example
folder