[create-inula]<feat> 新增响应式 API 模板
This commit is contained in:
parent
cfd55220f8
commit
45ebc9b97d
|
@ -17,7 +17,7 @@ const path = require('path');
|
|||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
entry: './src/index.js',
|
||||
entry: './src/index.jsx',
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
filename: 'bundle.js',
|
||||
|
|
|
@ -17,7 +17,7 @@ const path = require('path');
|
|||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
entry: './src/index.js',
|
||||
entry: './src/index.jsx',
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
filename: 'bundle.js',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "create-inula",
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
|
|
@ -93,8 +93,8 @@ function genConfig(mode) {
|
|||
mode === 'production' && terser(),
|
||||
copy([
|
||||
{
|
||||
from: path.join(libDir, '/npm/index.js'),
|
||||
to: path.join(outDir, 'index.js'),
|
||||
from: path.join(libDir, '/npm/index.jsx'),
|
||||
to: path.join(outDir, 'index.jsx'),
|
||||
}
|
||||
]),
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue