Add most of components and prepare for V1 Release
This commit is contained in:
25
test/test-setup/compile-standalone.js
Normal file
25
test/test-setup/compile-standalone.js
Normal file
@@ -0,0 +1,25 @@
|
||||
import webpack from 'webpack'
|
||||
import * as shell from 'shelljs'
|
||||
import path from 'path'
|
||||
|
||||
export default new Promise((resolve, reject) => {
|
||||
const webpackConfig = require('../../webpack.config.js')[0]
|
||||
|
||||
webpack(
|
||||
{
|
||||
...webpackConfig,
|
||||
mode: 'development',
|
||||
},
|
||||
(err, status) => {
|
||||
if (!err) {
|
||||
shell.cp(
|
||||
path.resolve(__dirname, '../../dist/vue-google-maps.js'),
|
||||
path.resolve(__dirname, '../../examples/vue-google-maps.js')
|
||||
)
|
||||
resolve()
|
||||
} else {
|
||||
reject(err)
|
||||
}
|
||||
}
|
||||
)
|
||||
})
|
||||
Reference in New Issue
Block a user