0.1.24 • Published 12 months ago
macross-bundler v0.1.24
Macross Bundler
Macross Bundler is the managed Webpack config scripts that simplify your web app configurations.
If you're create a new web app, please use the create-macross-app
command line:
npx create-macross-app my-app
cd my-app
npm run start
If you want to integrate the macross-bundle
to your existing application, please find the steps below:
Install
Make sure you have Node.js version >= 16 installed on your system, run:
npm install --save-dev macross-bundler
Usage
Modify package.json
:
{
"scripts": {
"start": "macross-bundler start",
"build": "macross-bundler build"
}
}
Run:
npm run start
Build:
npm run build
Configuration
Example configuration:
macross.config.js
export default {
entries: {
'index': './src/index.js',
},
publicDir: './templates',
outDir: '../resources/static',
templateOurDir: '../resources/templates',
cdnPrefixUrl: 'https://cdn.rakuten.co.jp',
backendProxy: 'http://websearch.rakuten.co.jp',
devServerPort: 1234,
}
0.1.23
1 year ago
0.1.24
12 months ago
0.1.20
1 year ago
0.1.21
1 year ago
0.1.22
1 year ago
0.1.19
1 year ago
0.1.14
1 year ago
0.1.15
1 year ago
0.1.16
1 year ago
0.1.17
1 year ago
0.1.18
1 year ago
0.1.13
2 years ago
0.1.12
2 years ago
0.1.11
2 years ago
0.1.10
2 years ago
0.1.9
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago